File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ static rtos::internal::SysTimer *os_timer;
42
42
static uint64_t os_timer_data[sizeof (rtos::internal::SysTimer) / 8 ];
43
43
44
44
// / Enable System Timer.
45
- int32_t OS_Tick_Enable (void )
45
+ void OS_Tick_Enable (void )
46
46
{
47
47
// Do not use SingletonPtr since this relies on the RTOS
48
48
if (NULL == os_timer) {
@@ -52,24 +52,18 @@ int32_t OS_Tick_Enable (void)
52
52
53
53
// set to fire interrupt on next tick
54
54
os_timer->schedule_tick ();
55
-
56
- return 0 ;
57
55
}
58
56
59
57
// / Disable System Timer.
60
- int32_t OS_Tick_Disable (void )
58
+ void OS_Tick_Disable (void )
61
59
{
62
60
os_timer->cancel_tick ();
63
-
64
- return 0 ;
65
61
}
66
62
67
63
// / Acknowledge System Timer IRQ.
68
- int32_t OS_Tick_AcknowledgeIRQ (void )
64
+ void OS_Tick_AcknowledgeIRQ (void )
69
65
{
70
66
os_timer->schedule_tick ();
71
-
72
- return 0 ;
73
67
}
74
68
75
69
// / Get System Timer count.
You can’t perform that action at this time.
0 commit comments