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.
Diff: main.cpp
- Revision:
- 22:f1811602a817
- Parent:
- 21:32429d8e90ff
- Child:
- 24:74a53dd49806
diff -r 32429d8e90ff -r f1811602a817 main.cpp --- a/main.cpp Tue May 12 15:12:59 2020 +0000 +++ b/main.cpp Fri May 15 17:45:20 2020 +0000 @@ -62,7 +62,6 @@ pad.init();//initialises the gamepad lcd.init();//initialises the N5110 screen lcd.clear(); - } void game() @@ -98,7 +97,7 @@ wait(0.005); //if a pressed display pause screen - pause_return_value = menu.pause_screen(); + pause_return_value = menu.pause_screen(functions.get_score()); if(pause_return_value == 1) { break; } @@ -110,6 +109,5 @@ if (game_return_value == 2) { game_check = false; } - } - + } }