Merge pull request #1269 from pkendall64/crsf-max-output
[ExpressLRS.git] / src / lib / BUTTON / devButton.h
blob231db9a027e1ee5e05916314de1b3f624e0aa2f6
1 #pragma once
3 #include "device.h"
5 #if defined(GPIO_PIN_BUTTON) && (GPIO_PIN_BUTTON != UNDEF_PIN)
6 #if (defined(TARGET_TX_BETAFPV_2400_V1) || defined(TARGET_TX_BETAFPV_900_V1) || defined(TARGET_TX_IFLIGHT)) || \
7 (defined(TARGET_RX) && (defined(PLATFORM_ESP32) || defined(PLATFORM_ESP8266)))
8 extern device_t Button_device;
9 #define HAS_BUTTON
10 #endif
11 #endif