A retro gaming programme, designed for use on a portable embedded system. Incorporates power saving techniques.

Dependencies:   ConfigFile N5110 PowerControl beep mbed

Files at this revision

API Documentation at this revision

Comitter:
el13drt
Date:
Thu Apr 23 19:02:18 2015 +0000
Parent:
42:2eba0c075a89
Child:
44:8ccea2400347
Commit message:
fix option position

Changed in this revision

tower.h Show annotated file Show diff for this revision Revisions of this file
--- a/tower.h	Thu Apr 23 18:52:58 2015 +0000
+++ b/tower.h	Thu Apr 23 19:02:18 2015 +0000
@@ -1124,6 +1124,7 @@
     
                     //'exit' option YES
                     if((buttonFlagA)&&(exitOption == 0)) { //returns to menu
+                        exitOption = 1;//reset intial option value
                         buttonFlagA = 0;//reset flags
                         buttonFlagB = 0;
                         actionButtons();