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: MenuClasses/Settings/Settings.h
- Revision:
- 49:441c32f6603e
- Parent:
- 43:233f93860d08
- Child:
- 55:df0825049171
--- a/MenuClasses/Settings/Settings.h Fri Apr 26 12:46:42 2019 +0000 +++ b/MenuClasses/Settings/Settings.h Fri Apr 26 17:16:22 2019 +0000 @@ -17,7 +17,7 @@ * This function is used to configure settings. */ - float * Implement(N5110 &lcd, Gamepad &pad, int st, float cs); + float * Implement(N5110 &lcd, Gamepad &pad, float cs); /** Initialise Settings * @@ -31,7 +31,7 @@ * This function just instructs the user on how to use settings */ - float controlSensitivity(N5110 &lcd, Gamepad &pad); + void controlSensitivity(N5110 &lcd, Gamepad &pad); /** controlSensitivity * @@ -56,13 +56,13 @@ * This function allows the user to set the volume of the speaker. */ - int showCredits(N5110 &lcd, Gamepad &pad); + void showCredits(N5110 &lcd, Gamepad &pad); /** showCredits * * This function allows the user to hide/show credits. */ - + private: float cs_sc[2]; //this array helps to return Control speeds and Show credits parameters.