diff --git a/test/modules/src/lighthouse/test_lighthouse_core.c b/test/modules/src/lighthouse/test_lighthouse_core.c index a2f0b468eb..3fe3c9333d 100644 --- a/test/modules/src/lighthouse/test_lighthouse_core.c +++ b/test/modules/src/lighthouse/test_lighthouse_core.c @@ -32,9 +32,26 @@ lighthouseBaseStationType_t identifyBaseStationType(const lighthouseUartFrame_t* void initializeGeoDataFromStorage(); initializeCalibDataFromStorage(); -// Dummy mocks +// Dummy mocks timer uint32_t xTaskGetTickCount() {return 0;} void vTaskDelay(const uint32_t ignore) {} +struct tmrTimerControl; +typedef struct tmrTimerControl * TimerHandle_t; +int timerBuffer; +int timer; +void xTimerStart(int ignore, uint32_t ignore1 ) {} +int xTimerCreateStatic( const char * const pcTimerName, + uint32_t xTimerPeriodInTicks, + const unsigned long uxAutoReload, + void * const pvTimerID, + int ignore1, + int ignore2) {return 0;} +short xTimerGenericCommand( TimerHandle_t xTimer, + const short xCommandID, + const uint32_t xOptionalValue, + short * const pxHigherPriorityTaskWoken, + const uint32_t xTicksToWait ) {return 0;} + static int nrOfCallsToStorageFetchForCalib = 0; static size_t mockStorageFetchForCalib(char* key, void* buffer, size_t length, int cmock_num_calls);