Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed N5110 ShiftReg PinDetect
Diff: MainMenu.cpp
- Revision:
- 7:678873947b29
- Parent:
- 6:edb48de563a9
- Child:
- 10:f2488a0ecab7
diff -r edb48de563a9 -r 678873947b29 MainMenu.cpp
--- a/MainMenu.cpp Fri May 01 09:44:38 2015 +0000
+++ b/MainMenu.cpp Fri May 01 18:10:59 2015 +0000
@@ -37,7 +37,7 @@
input->addBtnPressInterrupt(input->btnC, &btnCPress);
}
-void MainMenu::update(time_t dt)
+void MainMenu::update(float dt)
{
}
@@ -83,6 +83,7 @@
case LOAD_GAME:
lcd->printString("Loading...", 10, 2);
+ requestStateChange(GAME);
break;
default: