File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
features/FEATURE_COMMON_PAL/nanostack-hal-mbed-cmsis-rtos Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ static osThreadId timer_thread_id;
16
16
static Timer timer;
17
17
static Timeout timeout;
18
18
static uint32_t due;
19
- static void (*callback )(void );
19
+ static void (*arm_hal_callback )(void );
20
20
21
21
static void timer_thread (const void *)
22
22
{
@@ -25,7 +25,7 @@ static void timer_thread(const void *)
25
25
// !!! We don't do our own enter/exit critical - we rely on callback
26
26
// doing it (ns_timer_interrupt_handler does)
27
27
// platform_enter_critical();
28
- callback ();
28
+ arm_hal_callback ();
29
29
// platform_exit_critical();
30
30
}
31
31
}
@@ -47,7 +47,7 @@ void platform_timer_disable(void)
47
47
// Not called while running, fortunately
48
48
void platform_timer_set_cb (void (*new_fp)(void ))
49
49
{
50
- callback = new_fp;
50
+ arm_hal_callback = new_fp;
51
51
}
52
52
53
53
static void timer_callback (void )
You can’t perform that action at this time.
0 commit comments