diff --git a/Tools/CPUInfo/CPUInfo.cpp b/Tools/CPUInfo/CPUInfo.cpp index 3e99d61982aba..cf3e43b1b0210 100644 --- a/Tools/CPUInfo/CPUInfo.cpp +++ b/Tools/CPUInfo/CPUInfo.cpp @@ -27,8 +27,6 @@ void loop(); const AP_HAL::HAL& hal = AP_HAL::get_HAL(); -#if CONFIG_HAL_BOARD != HAL_BOARD_LINUX - // On H750 we want to measure external flash to ram performance #if defined(EXT_FLASH_SIZE_MB) && EXT_FLASH_SIZE_MB>0 && defined(STM32H7) #include "ch.h" @@ -257,9 +255,4 @@ void loop() hal.scheduler->delay(3000); } -#else -void loop() {} -void setup() {} -#endif - AP_HAL_MAIN();