mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-18 10:51:54 +03:00
Update came_atomo.c
add header (beta-test)
This commit is contained in:
parent
84342e1aa8
commit
97676e79a8
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user