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: handlers.cpp
- Revision:
- 3:32e67d121c7f
- Parent:
- 2:45db4f4ca70d
- Child:
- 6:e510aab8f2ce
--- a/handlers.cpp Fri Jul 12 17:36:39 2013 +0000
+++ b/handlers.cpp Fri Jul 12 20:02:01 2013 +0000
@@ -2,7 +2,7 @@
void mode_idle_handler(int* state, char sel)
{
- if(sel>='1' && sel<='8')
+ if(sel>='1' && sel<='7')
*state = sel - '0'; //select a mode
else
*state = MODE_IDLE;