Tools: allow CPUInfo to build on systems without ESC telem

This commit is contained in:
Andrew Tridgell 2024-01-07 08:31:15 +11:00
parent b9ac504d0d
commit b03728853e
1 changed files with 2 additions and 0 deletions

View File

@ -46,7 +46,9 @@ static uint32_t sysclk = 0;
static EKF_Maths ekf;
HAL_Semaphore sem;
#if HAL_WITH_ESC_TELEM
AP_ESC_Telem telem;
#endif
void setup() {
#ifdef DISABLE_CACHES