some testing code

This commit is contained in:
sharandac
2020-08-10 13:36:48 +02:00
parent cb3478f0d5
commit 28d83036d6
7 changed files with 1 additions and 25 deletions

View File

@@ -198,11 +198,6 @@ void update_check_version( void ) {
}
void update_Task( void * pvParameters ) {
if ( powermgm_get_event( POWERMGM_STANDBY | POWERMGM_STANDBY_REQUEST ) ) {
log_i("block update task");
xEventGroupClearBits( update_event_handle, UPDATE_REQUEST | UPDATE_GET_VERSION_REQUEST );
vTaskDelete( NULL );
}
log_i("start update task");
if ( xEventGroupGetBits( update_event_handle) & UPDATE_GET_VERSION_REQUEST ) {