diff --git a/firmware/util/timer.cpp b/firmware/util/timer.cpp index 77be3d2..d6013e8 100644 --- a/firmware/util/timer.cpp +++ b/firmware/util/timer.cpp @@ -9,6 +9,8 @@ Timer::Timer() { #ifdef MOCK_TIMER +#define CH_CFG_ST_FREQUENCY 1000000 + // in mock land, ticks == microseconds #define TIME_US2I(us) (us) #define TIME_I2US(ticks) (ticks)