Massive clean thanks to Schwabe : unifdef -m -DCPUARM -UCPUM64 -UCPUM2560 -UPCBSTD -UPCBMEGA2560 -UPCBGRUVIN9X -UPCB9X $(find . -name "*.cpp" -or -name "*.h")
This commit is contained in:
@@ -35,7 +35,6 @@ void timerReset(uint8_t idx)
|
||||
timerState.val_10ms = 0 ;
|
||||
}
|
||||
|
||||
#if defined(CPUARM)
|
||||
void timerSet(int idx, int val)
|
||||
{
|
||||
TimerState & timerState = timersStates[idx];
|
||||
@@ -43,9 +42,7 @@ void timerSet(int idx, int val)
|
||||
timerState.val = val;
|
||||
timerState.val_10ms = 0 ;
|
||||
}
|
||||
#endif // #if defined(CPUARM)
|
||||
|
||||
#if defined(CPUARM) || defined(CPUM2560)
|
||||
void restoreTimers()
|
||||
{
|
||||
for (uint8_t i=0; i<TIMERS; i++) {
|
||||
@@ -67,7 +64,6 @@ void saveTimers()
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // #if defined(CPUARM) || defined(CPUM2560)
|
||||
|
||||
#if defined(ACCURAT_THROTTLE_TIMER)
|
||||
#define THR_TRG_TRESHOLD 13 // approximately 10% full throttle
|
||||
|
||||
Reference in New Issue
Block a user