From 8b69e65438a874c54b91fbd2889575e4a1f8ebfb Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Mon, 2 Mar 2015 11:13:19 +0100 Subject: [PATCH] revert last modification --- src/hmi.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/hmi.cpp b/src/hmi.cpp index 1541c12..0aaff5f 100644 --- a/src/hmi.cpp +++ b/src/hmi.cpp @@ -60,14 +60,11 @@ private: }; -SwitchPort2 switch1; -SwitchPort2 switch2; -SwitchPort2 switch3; +SwitchPort2 switch1 = SwitchPort2(BIT0); +SwitchPort2 switch2 = SwitchPort2(BIT1); +SwitchPort2 switch3 = SwitchPort2(BIT2); void hmiInit() { - switch1 = SwitchPort2(BIT0); - switch2 = SwitchPort2(BIT1); - switch3 = SwitchPort2(BIT2); } void hmiExec() {