]> git.tnoah.ca Git - lora-radio.git/commitdiff
Fix compilation for RAK4631
authorMark Qvist <mark@unsigned.io>
Sat, 5 Oct 2024 01:09:47 +0000 (03:09 +0200)
committerMark Qvist <mark@unsigned.io>
Sat, 5 Oct 2024 01:09:47 +0000 (03:09 +0200)
BLESerial.cpp
BLESerial.h

index d08aee962ce888b7444ae21acff505177a954e5f..2dbffe30b1a4137bf685e8f617201c6da8f381e2 100644 (file)
@@ -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
index f7c0132f33e14bf8b82f7b7fd6a540184575e02c..b4bfb1ef7ad23a887f184c41a590e8deacd9954e 100644 (file)
@@ -1,5 +1,6 @@
 #include "Boards.h"
 
+#if PLATFORM != PLATFORM_NRF52
 #if HAS_BLE
 
 #include <Arduino.h>
@@ -113,4 +114,5 @@ private:
   bool started = false;
 };
 
+#endif
 #endif
\ No newline at end of file