File tree Expand file tree Collapse file tree 3 files changed +2
-8
lines changed Expand file tree Collapse file tree 3 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -119,8 +119,6 @@ void suspendLoop(void);
119119#define portInputRegister (port ) ( (volatile uint32_t*) &(port->IN) )
120120#define portModeRegister (port ) ( &(port->DIR) )
121121#define digitalPinHasPWM (P ) ( g_ADigitalPinMap[P] > 1 )
122-
123- void rtos_idle_callback (void ) ATTR_WEAK ;
124122/*
125123 * digitalPinToTimer(..) is AVR-specific and is not defined for nRF52
126124 * architecture. If you need to check if a pin supports PWM you must
Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ static void __empty() {
3030}
3131void yield (void ) __attribute__ ((weak , alias ("__empty" )));
3232
33+ void vApplicationIdleHook ( void ) __attribute__ ((weak , alias ("__empty" )));
34+
3335/**
3436 * SysTick hook
3537 *
Original file line number Diff line number Diff line change @@ -101,12 +101,6 @@ void vApplicationMallocFailedHook(void)
101101 LOG_LV1 (" RTOS" , " Failed to Malloc" );
102102}
103103
104- void vApplicationIdleHook ( void )
105- {
106- // Call user callback if defined
107- if ( rtos_idle_callback ) rtos_idle_callback ();
108- }
109-
110104/* configSUPPORT_STATIC_ALLOCATION is set to 1, so the application must provide an
111105 * implementation of vApplicationGetIdleTaskMemory() to provide the memory that is
112106 * used by the Idle task. */
You can’t perform that action at this time.
0 commit comments