diff options
-rw-r--r-- | src/core/ao.h | 2 | ||||
-rw-r--r-- | src/core/ao_config.c | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/core/ao.h b/src/core/ao.h index b8bedd85..66c0881f 100644 --- a/src/core/ao.h +++ b/src/core/ao.h @@ -718,6 +718,8 @@ extern __xdata uint8_t ao_force_freq; #define AO_AES_LEN 16 +extern __xdata uint8_t ao_config_aes_seq; + struct ao_config { uint8_t major; uint8_t minor; diff --git a/src/core/ao_config.c b/src/core/ao_config.c index f19dd9cd..ce855ad1 100644 --- a/src/core/ao_config.c +++ b/src/core/ao_config.c @@ -463,6 +463,9 @@ ao_config_radio_enable_set(void) __reentrant #endif /* HAS_RADIO */ #if HAS_AES + +__xdata uint8_t ao_config_aes_seq = 1; + void ao_config_key_show(void) __reentrant { @@ -485,6 +488,7 @@ ao_config_key_set(void) __reentrant break; ao_config.aes_key[i] = ao_cmd_lex_i; } + ++ao_config_aes_seq; _ao_config_edit_finish(); } #endif |