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:
3djc
2018-07-05 08:04:55 +02:00
parent c032b30247
commit dd632969f3
106 changed files with 27 additions and 6626 deletions
-4
View File
@@ -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