[FL-2439] SubGhz: fix magic numbers and description in crash (#1103)

* [FL-2439] SubGhz: fix magic numbers and description on crash
This commit is contained in:
Skorpionm
2022-04-09 22:47:14 +04:00
committed by GitHub
parent 435205de33
commit 7d022c6fda
4 changed files with 34 additions and 28 deletions

View File

@@ -79,6 +79,14 @@ typedef enum {
SubGhzRxKeyStateRAWSave,
} SubGhzRxKeyState;
/** SubGhzLoadKeyState state */
typedef enum {
SubGhzLoadKeyStateUnknown,
SubGhzLoadKeyStateOK,
SubGhzLoadKeyStateParseErr,
SubGhzLoadKeyStateOnlyRx,
} SubGhzLoadKeyState;
struct SubGhzTxRx {
SubGhzWorker* worker;