summaryrefslogtreecommitdiff
path: root/digital/beacon/src/debug_avr.c
diff options
context:
space:
mode:
authorFlorent Duchon2012-05-03 23:54:14 +0200
committerFlorent Duchon2012-05-04 00:06:29 +0200
commit352d48f377ebfdd17dc57a5b04cec5e71e2a452d (patch)
tree5396698f6f5e273d3799efc7dce58b7f9cd7561a /digital/beacon/src/debug_avr.c
parent1ead3b0f14353ea5fcb756d4cc99d10d437be08b (diff)
digital/beacon: add avr reset function
Diffstat (limited to 'digital/beacon/src/debug_avr.c')
-rw-r--r--digital/beacon/src/debug_avr.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/digital/beacon/src/debug_avr.c b/digital/beacon/src/debug_avr.c
index f324c68a..c862b5c2 100644
--- a/digital/beacon/src/debug_avr.c
+++ b/digital/beacon/src/debug_avr.c
@@ -134,9 +134,7 @@ void usartRXCallback(uint16_t bytesToRead)
// uprintf("TCNT3 = %d\r\n",TCNT3);
TIMSK3 &= ~(1<<OCIE3B);
case 'r':
- led_off(1);
- led_off(2);
- led_off(3);
+ reset_avr();
break;
case 't':
motor_start_stop_control();