The unified diff between revisions [8f4e93ab..] and [23a3e9a5..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'main.c'

#
# old_revision [8f4e93ab4d89edfdbd524b06b83511c6867a9150]
# new_revision [23a3e9a50b4034343e3bd217d2c225dcaec064dd]
#
# patch "main.c"
#  from [495b950dc0db657d6169223890154d27de162224]
#    to [e1a823b4962f3e8dc43b519a1f57745854ae6689]
#
============================================================
--- main.c	495b950dc0db657d6169223890154d27de162224
+++ main.c	e1a823b4962f3e8dc43b519a1f57745854ae6689
@@ -277,13 +277,12 @@ void menu_handler(void)
 			break;
 		case 'P':
 			putstr("Initialising timer... ");
-			timer_set_period(10*TIMER_MS);
+			/* We want a 100Hz loop but two samples per iteration.
+			 * So, we go for 200Hz. */
+			timer_set_period(5*TIMER_MS);
 			reply("done");
+			wmp_start_zero();
 			break;
-		case 'E':
-			event_dispatch();
-			reply("done");
-			break;
 		default:
 			reply("Unrecognised command.");
 			break;