X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=firmware%2Fapps%2Fmonitor%2Fmonitor.c;h=3a94b4483e94836c38d8c1a0fe33b15626c74dee;hb=8bba67a8aeb9e40bb81ba2749710b9fef660d689;hp=323691f3bb19d4fac12cc63f2ce1908837fc7d59;hpb=f2bee319a0c1b0a6c7618c02dbdfeacd68d5fea0;p=goodfet diff --git a/firmware/apps/monitor/monitor.c b/firmware/apps/monitor/monitor.c index 323691f..3a94b44 100644 --- a/firmware/apps/monitor/monitor.c +++ b/firmware/apps/monitor/monitor.c @@ -75,6 +75,10 @@ void monitorhandle(unsigned char app, silent=cmddata[0]; txdata(app,verb,1); break; + case MONITOR_CONNECTED: + msp430_init_dco_done(); + txdata(app,verb,0); + break; } } @@ -89,7 +93,9 @@ void monitor_ram_pattern(){ txdata(0x00,0x90,0); //Reboot + #ifdef MSP430 asm("br &0xfffe"); + #endif } //! Return the number of contiguous bytes 0xBEEF, to measure RAM usage.