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);
119
119
#define portInputRegister (port ) ( (volatile uint32_t*) &(port->IN) )
120
120
#define portModeRegister (port ) ( &(port->DIR) )
121
121
#define digitalPinHasPWM (P ) ( g_ADigitalPinMap[P] > 1 )
122
-
123
- void rtos_idle_callback (void ) ATTR_WEAK ;
124
122
/*
125
123
* digitalPinToTimer(..) is AVR-specific and is not defined for nRF52
126
124
* 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() {
30
30
}
31
31
void yield (void ) __attribute__ ((weak , alias ("__empty" )));
32
32
33
+ void vApplicationIdleHook ( void ) __attribute__ ((weak , alias ("__empty" )));
34
+
33
35
/**
34
36
* SysTick hook
35
37
*
Original file line number Diff line number Diff line change @@ -101,12 +101,6 @@ void vApplicationMallocFailedHook(void)
101
101
LOG_LV1 (" RTOS" , " Failed to Malloc" );
102
102
}
103
103
104
- void vApplicationIdleHook ( void )
105
- {
106
- // Call user callback if defined
107
- if ( rtos_idle_callback ) rtos_idle_callback ();
108
- }
109
-
110
104
/* configSUPPORT_STATIC_ALLOCATION is set to 1, so the application must provide an
111
105
* implementation of vApplicationGetIdleTaskMemory() to provide the memory that is
112
106
* used by the Idle task. */
You can’t perform that action at this time.
0 commit comments