test 1 doc

Dependencies:   mbed Gamepad2

Files at this revision

API Documentation at this revision

Comitter:
joebarhouch
Date:
Wed May 27 07:52:55 2020 +0000
Parent:
14:58887d7e1072
Commit message:
el18jb; VOLATILE!

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 58887d7e1072 -r 9ea5269b4cd4 main.cpp
--- a/main.cpp	Wed May 27 07:48:27 2020 +0000
+++ b/main.cpp	Wed May 27 07:52:55 2020 +0000
@@ -107,7 +107,7 @@
             lcd.refresh();
             
         if(pad.A_pressed() || pad.B_pressed() || pad.X_pressed() || pad.Y_pressed() ||pad.start_pressed()){
-                gameState=1;
+                gameState=1; //restart
             }
     }
 //initialisation