mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-23 13:03:13 +00:00
proper check
This commit is contained in:
parent
72e6f5f59e
commit
265d2592e7
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ void subghz_protocol_encoder_faac_slh_free(void* context) {
|
|||
}
|
||||
|
||||
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();
|
||||
} else {
|
||||
// Do not generate new data, send data from buffer
|
||||
|
|
Loading…
Reference in a new issue