compiles xiao_nrf52 board files only if we compile for xiao_nrf52

This commit is contained in:
Florent 2025-04-11 14:51:10 +02:00
parent 8ee251a19e
commit b4330e376c
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,5 @@
#ifdef XIAO_NRF52
#include <Arduino.h>
#include "XiaoNrf52Board.h"
@ -89,3 +91,5 @@ bool XiaoNrf52Board::startOTAUpdate(const char* id, char reply[]) {
return false;
}
#endif