Skip to content

Commit

Permalink
Tools: allow CPUInfo to build on HAL_Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge authored and peterbarker committed Mar 2, 2024
1 parent b4d8e11 commit e58b2fc
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Tools/CPUInfo/CPUInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -257,9 +255,4 @@ void loop()
hal.scheduler->delay(3000);
}

#else
void loop() {}
void setup() {}
#endif

AP_HAL_MAIN();

0 comments on commit e58b2fc

Please sign in to comment.