summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorMike Fiore <mfiore@multitech.com>2015-11-13 15:53:21 -0600
committerMike Fiore <mfiore@multitech.com>2015-11-13 15:53:21 -0600
commit0feda07b8e09e0e7a313b838192cb6552a55e3c0 (patch)
tree8feba25b2d4509f0b2066f2988aedef0217cedee /main.cpp
parent200cc21381486ccec1f4855f638a8e1046a401d8 (diff)
downloadmtdot-box-evb-factory-firmware-0feda07b8e09e0e7a313b838192cb6552a55e3c0.tar.gz
mtdot-box-evb-factory-firmware-0feda07b8e09e0e7a313b838192cb6552a55e3c0.tar.bz2
mtdot-box-evb-factory-firmware-0feda07b8e09e0e7a313b838192cb6552a55e3c0.zip
log push button presses in main menu function
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index 6a66f4d..17adb0e 100644
--- a/main.cpp
+++ b/main.cpp
@@ -126,10 +126,12 @@ void mainMenu() {
std::string selected;
switch (ev) {
case sw1_press:
+ logInfo("sw1 press");
selected = menu.select();
logInfo("selected %s", selected.c_str());
break;
case sw2_press:
+ logInfo("sw2 press");
menu.scroll();
break;
case sw1_hold: