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
Diff: Menu/Menu.cpp
- Revision:
- 14:9cfe0041cc4e
- Parent:
- 13:27300c533dd1
- Child:
- 16:14c231624f3e
diff -r 27300c533dd1 -r 9cfe0041cc4e Menu/Menu.cpp --- a/Menu/Menu.cpp Sat May 09 13:45:23 2020 +0000 +++ b/Menu/Menu.cpp Tue May 19 15:04:33 2020 +0000 @@ -15,6 +15,7 @@ // PUBLIC methods--------------------------------------------------------------- void Menu::mainmenu(N5110 &lcd, Gamepad &pad) //main menu { + menusize=3; g_selecty=10; submenu=1; //initialises starting point @@ -101,7 +102,6 @@ } } - void Menu::subinstructions(N5110 &lcd, Gamepad &pad) //instruction sub { menuflag=1; //sets flag @@ -123,7 +123,6 @@ } } - void Menu::subcredits(N5110 &lcd, Gamepad &pad) //credits sub menu { printf("Credits \n"); @@ -149,7 +148,6 @@ } } - //Private Methods-------------------------------------------------------------- void Menu::printmainmenu(N5110 &lcd) //prints main menu { @@ -215,7 +213,7 @@ } wait_ms(200); //debounce - } + } return(0); }