A personal rust firmware for the Badger 2040 W
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

More minor updates

+5 -2
+5 -2
src/main.rs
··· 248 248 }; 249 249 rtc.set_datetime(rtc_time).unwrap(); 250 250 time_was_set = true; 251 + let _ = control.leave().await; 251 252 } 252 253 Err(_e) => { 253 254 error!("Failed to parse response body"); 254 - return; // handle the error 255 + // return; // handle the error 255 256 } 256 257 } 257 258 } ··· 342 343 if recent_networks.contains(&ssid_string) { 343 344 continue; 344 345 } 345 - let _ = recent_networks.push(ssid_string); 346 + if ssid_string != "" { 347 + let _ = recent_networks.push(ssid_string); 348 + } 346 349 } 347 350 Err(_) => { 348 351 continue;