We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f96ed8 commit ef442a7Copy full SHA for ef442a7
src/buttons.rs
@@ -330,6 +330,7 @@ async fn submit_reset_wifi(
330
.nvs
331
.invalidate_key(esp_hal_wifimanager::WIFI_NVS_KEY)
332
.await;
333
+ _ = state.nvs.invalidate_key(b"SIGN_KEY").await;
334
335
{
336
let mut state = state.state.lock().await;
src/main.rs
@@ -119,7 +119,6 @@ async fn main(spawner: Spawner) {
119
let mut sign_key = [0; 4];
120
if nvs.get_key(b"SIGN_KEY", &mut sign_key).await.is_ok() {
121
unsafe { crate::state::SIGN_KEY = u32::from_be_bytes(sign_key) >> 1 };
122
- } else {
123
}
124
125
spawner.must_spawn(lcd::lcd_task(
0 commit comments