The unified diff between revisions [cc8258a6..] and [1dfe3b7e..] 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 [cc8258a6c3643514892e84cf24fed008bc6f9660]
# new_revision [1dfe3b7eee76f3c8aea3b33932857682ee17701c]
#
# patch "main.c"
#  from [0a896cdc054a7e9fc0211de74469c22eef83a867]
#    to [cc6bdc935c17a517544beb8e177fc1093fff5249]
#
============================================================
--- main.c	0a896cdc054a7e9fc0211de74469c22eef83a867
+++ main.c	cc6bdc935c17a517544beb8e177fc1093fff5249
@@ -4,6 +4,7 @@
 #include "timer.h"
 #include "uart.h"
 #include "interrupt.h"
+#include "event.h"
 
 #define PINSEL0 (*((volatile unsigned char *) 0xE002C000))
 #define FP0XDIR (*((volatile unsigned int *) 0x3FFFC000))
@@ -255,6 +256,10 @@ int main(void) {
 			timer_set_period(10000*TIMER_MS);
 			reply("done");
 			break;
+		case 'E':
+			event_dispatch();
+			reply("done");
+			break;
 		default:
 			reply("Unrecognised command.");
 			break;