kopia lustrzana https://github.com/meshtastic/firmware
eink use RESET button as regular button instead
rodzic
e5d4fbb164
commit
a0fd83428f
|
@ -77,6 +77,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BUTTON_PIN PIN_BUTTON1
|
||||
#endif
|
||||
|
||||
#ifdef PIN_BUTTON2
|
||||
#define BUTTON_PIN_ALT PIN_BUTTON2
|
||||
#endif
|
||||
|
||||
// FIXME, use variant.h defs for all of this!!! (even on the ESP32 targets)
|
||||
#elif defined(CubeCell_BoardPlus)
|
||||
|
||||
|
|
|
@ -87,6 +87,7 @@ extern "C" {
|
|||
* Buttons
|
||||
*/
|
||||
#define PIN_BUTTON1 (32 + 10)
|
||||
#define PIN_BUTTON2 (0 + 18) // 0.18 is labeled on the board as RESET but we configure it in the bootloader as a regular GPIO
|
||||
|
||||
/*
|
||||
* Analog pins
|
||||
|
|
Ładowanie…
Reference in New Issue