mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-20 20:01:54 +03:00
proper check
This commit is contained in:
parent
72e6f5f59e
commit
265d2592e7
@ -110,7 +110,7 @@ void subghz_protocol_encoder_faac_slh_free(void* context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static bool subghz_protocol_faac_slh_gen_data(SubGhzProtocolEncoderFaacSLH* instance) {
|
static bool subghz_protocol_faac_slh_gen_data(SubGhzProtocolEncoderFaacSLH* instance) {
|
||||||
if(instance->generic.allow_zero_seed) {
|
if(instance->generic.allow_zero_seed || (instance->generic.seed != 0x0)) {
|
||||||
instance->generic.cnt += furi_hal_subghz_get_rolling_counter_mult();
|
instance->generic.cnt += furi_hal_subghz_get_rolling_counter_mult();
|
||||||
} else {
|
} else {
|
||||||
// Do not generate new data, send data from buffer
|
// Do not generate new data, send data from buffer
|
||||||
|
Loading…
Reference in New Issue
Block a user