We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2b67bc commit 22db172Copy full SHA for 22db172
Firmware/RTK_Surveyor/Bluetooth.ino
@@ -234,6 +234,7 @@ void bluetoothStart()
234
// https://github.com/espressif/arduino-esp32/issues/3386
235
void pinBluetoothTask(void *pvParameters)
236
{
237
+#ifdef COMPILE_BT
238
if (bluetoothSerial->begin(deviceName) == false)
239
240
systemPrintln("An error occurred initializing Bluetooth");
@@ -245,6 +246,7 @@ void pinBluetoothTask(void *pvParameters)
245
246
bluetoothPinned = true;
247
248
vTaskDelete(nullptr); // Delete task once it has run once
249
+#endif // COMPILE_BT
250
}
251
252
// This function stops BT so that it can be restarted later
0 commit comments