add reset command

This commit is contained in:
optixx
2009-09-21 08:32:17 +02:00
committed by Jannis (jix) Harder
parent 7f0a9f9285
commit 49df405d14
3 changed files with 45 additions and 12 deletions

View File

@@ -47,6 +47,7 @@
#include "irq.h"
#include "pwm.h"
#include "testing.h"
#include "shell.h"
@@ -337,6 +338,7 @@ int main(void)
info_P(PSTR("USB poll\n"));
while (req_state != REQ_STATUS_SNES) {
usbPoll();
shell_run();
}
@@ -363,6 +365,7 @@ int main(void)
info_P(PSTR("Poll USB\n"));
while ((req_state != REQ_STATUS_AVR)) {
usbPoll();
shell_run();
}
info_P(PSTR("-->Switch TO AVR\n"));