Make red blink on INT0.
authorMalte S. Stretz <mss@apache.org>
Mon, 9 Feb 2009 12:46:56 +0000 (12:46 +0000)
committerMalte S. Stretz <mss@apache.org>
Mon, 9 Feb 2009 12:46:56 +0000 (12:46 +0000)
src/dmx.c

index be82313..6ad88c2 100644 (file)
--- a/src/dmx.c
+++ b/src/dmx.c
@@ -4,6 +4,8 @@
 
 #include "sched.h"
 
+#include "buffer.h"
+
 #if 0
 
 uint8_t g_frame_count;
@@ -167,5 +169,6 @@ void dmx_int_timer0_ovf(void)
 
 void dmx_int_ext(void)
 {
+  gg_buffer_dc[0] = gg_buffer_dc[0] ? 0x00 : 0x08;
 }
 #endif