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: C12832 MMA7660 mbed
Diff: sound.cpp
- Revision:
- 5:614e3ac042df
- Parent:
- 4:d61f6d186db0
- Child:
- 9:35c816293400
--- a/sound.cpp Wed Mar 07 10:57:16 2018 +0000
+++ b/sound.cpp Wed Mar 14 11:15:31 2018 +0000
@@ -29,13 +29,6 @@
_SoundRange += 100;
}
-static void _Process(void) {
- _ProcessInitialize();
- while ( _ProcessIsContinue() ) {
- _ProcessRunning();
- }
-}
-
-COMMAND_DEFINE Command_sound = {"sound", 0x01, _Initialize, _Finalize, _Process,
+COMMAND_DEFINE Command_sound = {"sound", 0x01, _Initialize, _Finalize,
_ProcessInitialize, _ProcessIsContinue, _ProcessRunning
};
\ No newline at end of file