File tree 2 files changed +9
-2
lines changed
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 32
32
#include "wiring.h"
33
33
34
34
/* sketch */
35
- extern void setup ( void ) ;
36
- extern void loop ( void ) ;
37
35
38
36
#ifdef __cplusplus
39
37
extern "C" {
40
38
#endif // __cplusplus
39
+ extern void setup ( void ) ;
40
+ extern void loop ( void ) ;
41
+
41
42
void yield (void );
42
43
#ifdef __cplusplus
43
44
} // extern "C"
Original file line number Diff line number Diff line change @@ -125,6 +125,11 @@ uint32_t GetCurrentMilli(void)
125
125
return HAL_GetTick ();
126
126
}
127
127
128
+ void noOsSystickHandler (){
129
+
130
+ }
131
+
132
+ void osSystickHandler () __attribute__((weak , alias ("noOsSystickHandler" )));
128
133
/**
129
134
* @brief Function called when t he tick interruption falls
130
135
* @param None
@@ -134,6 +139,7 @@ void SysTick_Handler(void)
134
139
{
135
140
HAL_IncTick ();
136
141
HAL_SYSTICK_IRQHandler ();
142
+ osSystickHandler ();
137
143
}
138
144
139
145
/**
You can’t perform that action at this time.
0 commit comments