summaryrefslogtreecommitdiff
path: root/io-module/mths.c
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2018-05-29 10:50:32 -0500
committerJohn Klug <john.klug@multitech.com>2018-05-29 10:50:32 -0500
commit4ef2609858e80c0a6ec78f3358ec57e4a97d510c (patch)
tree7c7d68a9a1b4ca35ce692d8eaf141592c75e4bdc /io-module/mths.c
parentc31d619c83ba2a6c7c803082e804d18da657a389 (diff)
downloadmts-io-4ef2609858e80c0a6ec78f3358ec57e4a97d510c.tar.gz
mts-io-4ef2609858e80c0a6ec78f3358ec57e4a97d510c.tar.bz2
mts-io-4ef2609858e80c0a6ec78f3358ec57e4a97d510c.zip
Remove BUTTON INTERFACE feature test macro
Diffstat (limited to 'io-module/mths.c')
-rw-r--r--io-module/mths.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/io-module/mths.c b/io-module/mths.c
index 1fef07f..c50951e 100644
--- a/io-module/mths.c
+++ b/io-module/mths.c
@@ -687,32 +687,3 @@ static struct attribute *mths_0_0_platform_attributes[] = {
static struct attribute_group mths_0_0_platform_attribute_group = {
.attrs = mths_0_0_platform_attributes
};
-
-#ifdef NEW_BUTTON_INTERFACE
-
-//static const button_info_t user_button_mths = {
-// .name = "User Push Button",
-// .label_pin = "button",
-// .label_monitor = "button-monitor",
-// .label_monitor_intervals = "button-monitor-intervals",
-//
-// /* Signals */
-// .short_signal = SIGUSR1,
-// .long_signal = SIGUSR2,
-// .short_signal = SIGHUP,
-//
-// /* Intervals */
-// .short_interval = BUTTON_HOLD_COUNT,
-// .long_interval = BUTTON_LONG_HOLD_COUNT,
-//};
-//
-//static const button_info_t mths_buttons_0_0[] = {
-// user_button_mths,
-// {},
-//};
-
-
-
-
-
-#endif //NEW_BUTTON_INTERFACE