mirror of
https://github.com/ThrowTheSwitch/CMock.git
synced 2026-09-08 19:29:56 +00:00
fixed white space
This commit is contained in:
@@ -1,25 +1,25 @@
|
||||
#include "Types.h"
|
||||
#include "TimerInterruptHandler.h"
|
||||
#include "TimerInterruptConfigurator.h"
|
||||
|
||||
static uint32 systemTime;
|
||||
|
||||
void Timer_SetSystemTime(uint32 time)
|
||||
{
|
||||
systemTime = time;
|
||||
}
|
||||
|
||||
uint32 Timer_GetSystemTime(void)
|
||||
{
|
||||
return systemTime;
|
||||
}
|
||||
|
||||
void Timer_InterruptHandler(void)
|
||||
{
|
||||
uint32 status = AT91C_BASE_TC0->TC_SR;
|
||||
if (status & AT91C_TC_CPCS)
|
||||
{
|
||||
systemTime += 10;
|
||||
}
|
||||
}
|
||||
|
||||
#include "Types.h"
|
||||
#include "TimerInterruptHandler.h"
|
||||
#include "TimerInterruptConfigurator.h"
|
||||
|
||||
static uint32 systemTime;
|
||||
|
||||
void Timer_SetSystemTime(uint32 time)
|
||||
{
|
||||
systemTime = time;
|
||||
}
|
||||
|
||||
uint32 Timer_GetSystemTime(void)
|
||||
{
|
||||
return systemTime;
|
||||
}
|
||||
|
||||
void Timer_InterruptHandler(void)
|
||||
{
|
||||
uint32 status = AT91C_BASE_TC0->TC_SR;
|
||||
if (status & AT91C_TC_CPCS)
|
||||
{
|
||||
systemTime += 10;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user