From e58b2fc51a4b375b9e589d9146ec80d527d57ed7 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 2 Mar 2024 12:54:13 +1100 Subject: [PATCH] Tools: allow CPUInfo to build on HAL_Linux --- Tools/CPUInfo/CPUInfo.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Tools/CPUInfo/CPUInfo.cpp b/Tools/CPUInfo/CPUInfo.cpp index 3e99d61982..cf3e43b1b0 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();