Tools: allow CPUInfo to build on HAL_Linux

This commit is contained in:
Andrew Tridgell 2024-03-02 12:54:13 +11:00 committed by Peter Barker
parent b4d8e1133c
commit e58b2fc51a
1 changed files with 0 additions and 7 deletions

View File

@ -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();