streaming server for AM/FM radio via UDP connection.

Dependencies:   mbed EthernetNetIf

Revision:
1:3357273c97f8
Parent:
0:bd865e5a3df3
Child:
2:3b6816fd4ae6
--- a/RadioServer.cpp	Mon Feb 28 11:49:39 2011 +0000
+++ b/RadioServer.cpp	Fri Mar 25 15:25:54 2011 +0000
@@ -1,14 +1,12 @@
 #include "mbed.h"
 #include "EthernetNetIf.h"
 #include "UDPSocket.h"
-#include "TextLCD.h"
 #include "crc32.h"
 #include "ns9542.h"
 #include <vector>
 
 DigitalOut led1(LED1);
 DigitalOut led2(LED2);
-TextLCD lcd(p21, p22, p23, p24, p25, p26);
 
 Ticker ticker;
 
@@ -94,7 +92,7 @@
                 ns9542_tune_fm(f);
                 continue;
             }
-            if (len > 4 && memcmp(buf, "mute", 4) == 0) {
+            if (len == 4 && memcmp(buf, "mute", len) == 0) {
                 ns9542_mute(true);
                 continue;
             }