Merge pull request #13747 from gschorcht/boards/esp32-heltec-lora-v2
boards: define the interrupt flank for BTN0 for ESP32 Heltec Lora32 V2
This commit is contained in:
commit
48eaef7aa1
@ -55,6 +55,13 @@
|
|||||||
*/
|
*/
|
||||||
#define BTN0_MODE GPIO_IN
|
#define BTN0_MODE GPIO_IN
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Default interrupt flank definition for the button GPIO
|
||||||
|
*/
|
||||||
|
#ifndef BTN0_INT_FLANK
|
||||||
|
#define BTN0_INT_FLANK GPIO_FALLING
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Definition for compatibility with previous versions
|
* @brief Definition for compatibility with previous versions
|
||||||
*/
|
*/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user