mirror of https://github.com/ARMmbed/mbed-os.git
rtx idle: fix coding style
parent
9a0651c7fb
commit
830f7464cc
|
|
@ -42,7 +42,7 @@ using namespace mbed;
|
|||
static rtos::internal::SysTimer *os_timer;
|
||||
static uint64_t os_timer_data[sizeof(rtos::internal::SysTimer) / 8];
|
||||
|
||||
/// Enable System Timer.
|
||||
// Enable System Timer.
|
||||
void OS_Tick_Enable(void)
|
||||
{
|
||||
// Do not use SingletonPtr since this relies on the RTOS
|
||||
|
|
@ -55,19 +55,19 @@ void OS_Tick_Enable(void)
|
|||
os_timer->schedule_tick();
|
||||
}
|
||||
|
||||
/// Disable System Timer.
|
||||
// Disable System Timer.
|
||||
void OS_Tick_Disable(void)
|
||||
{
|
||||
os_timer->cancel_tick();
|
||||
}
|
||||
|
||||
/// Acknowledge System Timer IRQ.
|
||||
// Acknowledge System Timer IRQ.
|
||||
void OS_Tick_AcknowledgeIRQ(void)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/// Get System Timer count.
|
||||
// Get System Timer count.
|
||||
uint32_t OS_Tick_GetCount(void)
|
||||
{
|
||||
return os_timer->get_time() & 0xFFFFFFFF;
|
||||
|
|
|
|||
Loading…
Reference in New Issue