some fixes and firmware stabilization
This commit is contained in:
@@ -313,12 +313,14 @@ void wifictl_off( void ) {
|
||||
}
|
||||
|
||||
void wifictl_standby( void ) {
|
||||
log_i("standby");
|
||||
if ( powermgm_get_event( POWERMGM_WIFI_ACTIVE ) ) wifictl_off();
|
||||
while( powermgm_get_event( POWERMGM_WIFI_ACTIVE | POWERMGM_WIFI_CONNECTED | POWERMGM_WIFI_OFF_REQUEST | POWERMGM_WIFI_ON_REQUEST | POWERMGM_WIFI_SCAN ) ) { yield(); }
|
||||
}
|
||||
|
||||
void wifictl_wakeup( void ) {
|
||||
if ( wifictl_config.autoon ) {
|
||||
log_i("wakeup");
|
||||
wifictl_on();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user