conditional on needing ESP32 bluetooth header loaded

This commit is contained in:
BeardyWalrus 2020-10-03 17:23:36 -04:00
parent fed8e80ae4
commit 4d7cd0a09d
2 changed files with 4 additions and 2 deletions

View File

@ -34,8 +34,8 @@ build_flags = -Wno-missing-field-initializers -Isrc -Isrc/mesh -Isrc/gps -Ilib/n
; leave this commented out to avoid breaking Windows ; leave this commented out to avoid breaking Windows
;upload_port = /dev/ttyUSB0 ;upload_port = /dev/ttyUSB0
;monitor_port = /dev/ttyUSB0 ;monitor_port = /dev/ttyUSB0
upload_port = /dev/cu.SLAB_USBtoUART ;upload_port = /dev/cu.SLAB_USBtoUART
monitor_port = /dev/cu.SLAB_USBtoUART ;monitor_port = /dev/cu.SLAB_USBtoUART
; the default is esptool ; the default is esptool
; upload_protocol = esp-prog ; upload_protocol = esp-prog

View File

@ -152,7 +152,9 @@ void userButtonPressedLong()
} }
void userButtonDoublePressed() void userButtonDoublePressed()
{ {
#ifndef NO_ESP32
disablePin(); disablePin();
#endif
} }
void setup() void setup()