Fix very old and funny subghz bugs

Fixed Frequency Ananyzer issues
Fixed read mode issues
Fixed re-inits in HAL
This commit is contained in:
MX
2023-04-25 01:42:20 +03:00
parent 87a023c75d
commit ab669b26da
5 changed files with 18 additions and 4 deletions

View File

@@ -372,7 +372,7 @@ bool subghz_frequency_analyzer_input(InputEvent* event, void* context) {
#endif
if(updated) {
instance->callback(SubGhzCustomEventViewReceiverOK, instance->context);
instance->callback(SubGhzCustomEventViewFreqAnalOkShort, instance->context);
}
// First device receive short, then when user release button we get long
@@ -385,7 +385,7 @@ bool subghz_frequency_analyzer_input(InputEvent* event, void* context) {
subghz_frequency_analyzer_worker_stop(instance->worker);
}
instance->callback(SubGhzCustomEventViewReceiverUnlock, instance->context);
instance->callback(SubGhzCustomEventViewFreqAnalOkLong, instance->context);
}
}