mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
Merge pull request #1612 from weebl2000/default-button-low
Default button polarity to active-LOW across all firmware types
This commit is contained in:
commit
a9de5bfc0c
10 changed files with 26 additions and 9 deletions
|
|
@ -3,6 +3,10 @@
|
|||
#include <MeshCore.h>
|
||||
#include <Arduino.h>
|
||||
|
||||
#ifndef USER_BTN_PRESSED
|
||||
#define USER_BTN_PRESSED LOW
|
||||
#endif
|
||||
|
||||
#if defined(ESP_PLATFORM)
|
||||
|
||||
#include <rom/rtc.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue