diff --git a/BLESerial.cpp b/BLESerial.cpp index d08aee9..2dbffe3 100644 --- a/BLESerial.cpp +++ b/BLESerial.cpp @@ -1,5 +1,6 @@ #include "Boards.h" +#if PLATFORM != PLATFORM_NRF52 #if HAS_BLE #include "BLESerial.h" @@ -132,4 +133,5 @@ void BLESerial::SetupSerialService() { BLESerial::BLESerial() { } +#endif #endif \ No newline at end of file diff --git a/BLESerial.h b/BLESerial.h index f7c0132..b4bfb1e 100644 --- a/BLESerial.h +++ b/BLESerial.h @@ -1,5 +1,6 @@ #include "Boards.h" +#if PLATFORM != PLATFORM_NRF52 #if HAS_BLE #include @@ -113,4 +114,5 @@ private: bool started = false; }; +#endif #endif \ No newline at end of file