Update came_atomo.c

add header (beta-test)
This commit is contained in:
r3df0xx 2022-06-09 19:26:48 +03:00
parent 84342e1aa8
commit 97676e79a8

View File

@ -161,10 +161,10 @@ static void subghz_protocol_encoder_came_atomo_get_upload(SubGhzProtocolEncoderC
(lo >> 24), ((lo >> 16) & 0xFF), ((lo >> 8) & 0xFF), (lo & 0xFF)); (lo >> 24), ((lo >> 16) & 0xFF), ((lo >> 8) & 0xFF), (lo & 0xFF));
//Send header //Send header
//instance->encoder.upload[index++] = instance->encoder.upload[index++] =
//level_duration_make(true, (uint32_t)subghz_protocol_came_atomo_const.te_long * 15); level_duration_make(true, (uint32_t)subghz_protocol_came_atomo_const.te_long * 15);
//instance->encoder.upload[index++] = instance->encoder.upload[index++] =
//level_duration_make(false, (uint32_t)subghz_protocol_came_atomo_const.te_long * 60); level_duration_make(false, (uint32_t)subghz_protocol_came_atomo_const.te_long * 60);
instance->encoder.upload[index++] = level_duration_make(true, 1); instance->encoder.upload[index++] = level_duration_make(true, 1);
@ -186,7 +186,7 @@ static void subghz_protocol_encoder_came_atomo_get_upload(SubGhzProtocolEncoderC
instance->encoder.upload[index++] = instance->encoder.upload[index++] =
level_duration_make(false, (uint32_t)subghz_protocol_came_atomo_const.te_delta * 272); level_duration_make(false, (uint32_t)subghz_protocol_came_atomo_const.te_delta * 272);
instance->encoder.size_upload = index; instance->encoder.size_upload = index;
} }
bool subghz_protocol_encoder_came_atomo_deserialize(void* context, FlipperFormat* flipper_format) { bool subghz_protocol_encoder_came_atomo_deserialize(void* context, FlipperFormat* flipper_format) {