mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-17 07:28:14 +08:00
修复代码错误
This commit is contained in:
@@ -163,19 +163,9 @@ int main( void )
|
||||
return 0;
|
||||
}
|
||||
|
||||
WEAK void mico_main(void)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
static void application_thread_main( void *arg )
|
||||
{
|
||||
UNUSED_PARAMETER( arg );
|
||||
|
||||
/* Initialize after rtos is in initialized */
|
||||
mico_main();
|
||||
mico_rtos_init();
|
||||
|
||||
if ( MicoShouldEnterMFGMode( ) )
|
||||
mico_system_qc_test( );
|
||||
else
|
||||
@@ -856,19 +846,6 @@ void vApplicationMallocFailedHook( void )
|
||||
}
|
||||
|
||||
|
||||
#if FreeRTOS_VERSION_MAJOR > 7
|
||||
void rtos_suppress_and_sleep( unsigned long sleep_ms )
|
||||
{
|
||||
TickType_t missed_ticks = 0;
|
||||
extern uint32_t platform_power_down_hook( unsigned long sleep_ms );
|
||||
|
||||
missed_ticks = platform_power_down_hook( sleep_ms );
|
||||
|
||||
vTaskStepTick( missed_ticks );
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user