mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-10 15:04:19 +00:00
[FL-3074] SubGhz: CAME 12 bit encoder fix guard time (#2210)
* SubGhz: CAME encoder fix guard ime * SubGhz: fix 2 encoder CAME Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
parent
d58b9f3fe8
commit
ea054423b0
1 changed files with 3 additions and 1 deletions
|
@ -119,7 +119,9 @@ static bool subghz_protocol_encoder_came_get_upload(SubGhzProtocolEncoderCame* i
|
||||||
//Send header
|
//Send header
|
||||||
instance->encoder.upload[index++] = level_duration_make(
|
instance->encoder.upload[index++] = level_duration_make(
|
||||||
false,
|
false,
|
||||||
((instance->generic.data_count_bit == CAME_24_COUNT_BIT) ?
|
(((instance->generic.data_count_bit == CAME_24_COUNT_BIT) ||
|
||||||
|
(instance->generic.data_count_bit ==
|
||||||
|
subghz_protocol_came_const.min_count_bit_for_found)) ?
|
||||||
(uint32_t)subghz_protocol_came_const.te_short * 76 :
|
(uint32_t)subghz_protocol_came_const.te_short * 76 :
|
||||||
(uint32_t)subghz_protocol_came_const.te_short * 39));
|
(uint32_t)subghz_protocol_came_const.te_short * 39));
|
||||||
//Send start bit
|
//Send start bit
|
||||||
|
|
Loading…
Reference in a new issue