some testing code
This commit is contained in:
@@ -124,11 +124,6 @@ void timesyncToRTC( void ) {
|
||||
}
|
||||
|
||||
void timesync_Task( void * pvParameters ) {
|
||||
if ( powermgm_get_event( POWERMGM_STANDBY | POWERMGM_STANDBY_REQUEST ) ) {
|
||||
log_i("block time sync task");
|
||||
xEventGroupClearBits( time_event_handle, TIME_SYNC_REQUEST );
|
||||
vTaskDelete( NULL );
|
||||
}
|
||||
log_i("start time sync task");
|
||||
|
||||
if ( xEventGroupGetBits( time_event_handle ) & TIME_SYNC_REQUEST ) {
|
||||
|
||||
Reference in New Issue
Block a user