conditional on needing ESP32 bluetooth header loaded

1.2-legacy
BeardyWalrus 2020-10-03 17:23:36 -04:00
rodzic fed8e80ae4
commit 4d7cd0a09d
2 zmienionych plików z 4 dodań i 2 usunięć

Wyświetl plik

@ -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
;upload_port = /dev/ttyUSB0
;monitor_port = /dev/ttyUSB0
upload_port = /dev/cu.SLAB_USBtoUART
monitor_port = /dev/cu.SLAB_USBtoUART
;upload_port = /dev/cu.SLAB_USBtoUART
;monitor_port = /dev/cu.SLAB_USBtoUART
; the default is esptool
; upload_protocol = esp-prog

Wyświetl plik

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