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: Options_Engine/OptionsEngine.cpp
- Revision:
- 40:a1cdb6ab08af
- Parent:
- 38:a85bc227b907
--- a/Options_Engine/OptionsEngine.cpp Thu May 09 01:58:36 2019 +0000 +++ b/Options_Engine/OptionsEngine.cpp Thu May 09 10:52:00 2019 +0000 @@ -60,7 +60,6 @@ if(gamepad.check_event(gamepad.R_PRESSED)){ _brightness += 0.1f; } //Otherwise 0.1 is implicitly converted to a double (giving warning messages). if(_brightness < 0){ _brightness = 0; } //keep within range of 0 - 1 if(_brightness > 1){ _brightness = 1; } - /*printf("Brightness = %f\n", _brightness);*/ } void OptionsEngine::change_ball_speed(Gamepad &gamepad, N5110 &lcd, Ball &ball){