diff options
author | John Klug <john.klug@multitech.com> | 2018-05-29 10:50:32 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2018-05-29 10:50:32 -0500 |
commit | 4ef2609858e80c0a6ec78f3358ec57e4a97d510c (patch) | |
tree | 7c7d68a9a1b4ca35ce692d8eaf141592c75e4bdc /io-module/buttons.c | |
parent | c31d619c83ba2a6c7c803082e804d18da657a389 (diff) | |
download | mts-io-4ef2609858e80c0a6ec78f3358ec57e4a97d510c.tar.gz mts-io-4ef2609858e80c0a6ec78f3358ec57e4a97d510c.tar.bz2 mts-io-4ef2609858e80c0a6ec78f3358ec57e4a97d510c.zip |
Remove BUTTON INTERFACE feature test macro
Diffstat (limited to 'io-module/buttons.c')
-rw-r--r-- | io-module/buttons.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/io-module/buttons.c b/io-module/buttons.c index e7ed9ac..045dd22 100644 --- a/io-module/buttons.c +++ b/io-module/buttons.c @@ -232,8 +232,8 @@ int set_buttons (button_info_pt* platform_buttons) { void init_buttons(void) { if (buttons == NULL) { - log_error("Button structure hasn't been set yet"); - return; + log_error("Button structure hasn't been set. Use default"); + set_buttons(default_buttons); } button_worker(NULL); } |