Andriy Makukha / Mbed 2 deprecated football_project_wo_output

Dependencies:   mbed

Fork of football_project by MZJ

Revision:
49:626e84ce5e52
Parent:
48:4c9551c826e9
Child:
52:060fdec99780
Child:
58:fb2198ceb412
diff -r 4c9551c826e9 -r 626e84ce5e52 proto_code.cpp
--- a/proto_code.cpp	Tue Jan 12 00:05:34 2016 +0000
+++ b/proto_code.cpp	Tue Jan 12 14:50:32 2016 +0000
@@ -1345,8 +1345,7 @@
   if(time - last_time > DEBOUNCE_MS)
   {
     last_time = time;
-    buttons = ta.buttons() | TA::buttonsRising;
-    TA::buttonsRising = 0;
+    buttons = ta.buttons();
   }
   
   return buttons;