X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=firmware%2Fgoodfet.c;h=efe0f8c1e024331a01e86e073c8b68cbc034c3b5;hp=90e4d0fd7eb5479bab725939f0c4a3324fb2fa97;hb=717f47e2e1a087fb915e2b8774a2b72d93aec2ae;hpb=8c97f896b9cf1b9b6ddf25420c9d9f04516ddd11 diff --git a/firmware/goodfet.c b/firmware/goodfet.c index 90e4d0f..efe0f8c 100644 --- a/firmware/goodfet.c +++ b/firmware/goodfet.c @@ -84,6 +84,9 @@ int main(void){ unsigned long len; // MSP reboot count for reset input & reboot function located at 0xFFFE volatile unsigned int reset_count = 0; + + silent=0; //Don't trust globals. + #if (platform == tilaunchpad) int ret=0; @@ -108,6 +111,7 @@ int main(void){ #else void (*reboot_function)(void) = (void *) 0xFFFE; #endif + init(); txstring(MONITOR,OK,"http://goodfet.sf.net/"); @@ -144,9 +148,7 @@ int main(void){ //Read data, looking for buffer overflow. if(len <= CMDDATALEN){ for(i = 0; i < len; i++) - { cmddata[i] = serial_rx(); - } handle(app,verb,len); }else {