mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-29 11:01:15 +00:00
conditional on needing ESP32 bluetooth header loaded
This commit is contained in:
parent
fed8e80ae4
commit
4d7cd0a09d
@ -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
|
||||||
|
@ -152,7 +152,9 @@ void userButtonPressedLong()
|
|||||||
}
|
}
|
||||||
void userButtonDoublePressed()
|
void userButtonDoublePressed()
|
||||||
{
|
{
|
||||||
|
#ifndef NO_ESP32
|
||||||
disablePin();
|
disablePin();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void setup()
|
void setup()
|
||||||
|
Loading…
Reference in New Issue
Block a user