kopia lustrzana https://github.com/meshtastic/firmware
conditional on needing ESP32 bluetooth header loaded
rodzic
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
|
||||
;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
|
||||
|
|
|
@ -152,7 +152,9 @@ void userButtonPressedLong()
|
|||
}
|
||||
void userButtonDoublePressed()
|
||||
{
|
||||
#ifndef NO_ESP32
|
||||
disablePin();
|
||||
#endif
|
||||
}
|
||||
|
||||
void setup()
|
||||
|
|
Ładowanie…
Reference in New Issue