mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-12-12 04:34:43 +04:00
decoders reset step at reset func
This commit is contained in:
@@ -265,6 +265,7 @@ void subghz_protocol_decoder_marantec_free(void* context) {
|
||||
void subghz_protocol_decoder_marantec_reset(void* context) {
|
||||
furi_assert(context);
|
||||
SubGhzProtocolDecoderMarantec* instance = context;
|
||||
instance->decoder.parser_step = MarantecDecoderStepReset;
|
||||
manchester_advance(
|
||||
instance->manchester_saved_state,
|
||||
ManchesterEventReset,
|
||||
|
||||
@@ -227,6 +227,8 @@ void subghz_protocol_decoder_revers_rb2_free(void* context) {
|
||||
void subghz_protocol_decoder_revers_rb2_reset(void* context) {
|
||||
furi_assert(context);
|
||||
SubGhzProtocolDecoderRevers_RB2* instance = context;
|
||||
instance->decoder.parser_step = Revers_RB2DecoderStepReset;
|
||||
instance->header_count = 0;
|
||||
manchester_advance(
|
||||
instance->manchester_saved_state,
|
||||
ManchesterEventReset,
|
||||
|
||||
Reference in New Issue
Block a user