From c0abbe9cb71ff0aacc19a86b41662beddfb594c7 Mon Sep 17 00:00:00 2001 From: Florent Duchon Date: Thu, 14 Feb 2013 21:45:03 +0100 Subject: digital/beacon: use common reset function --- digital/beacon/src/misc.c | 6 ------ digital/beacon/src/misc.h | 3 --- 2 files changed, 9 deletions(-) (limited to 'digital/beacon') diff --git a/digital/beacon/src/misc.c b/digital/beacon/src/misc.c index c453c218..41c06f4e 100644 --- a/digital/beacon/src/misc.c +++ b/digital/beacon/src/misc.c @@ -27,12 +27,6 @@ #include "network.h" static int8_t color = -1; -/* This function resets the avr using the embedded watchdog */ -void reset_avr(void) -{ - wdt_enable (WDTO_15MS); - while (1); -} /* This function simulates the jack's state and send it over the air */ void jack_on_off(void) diff --git a/digital/beacon/src/misc.h b/digital/beacon/src/misc.h index c5a6f129..54a92f0d 100644 --- a/digital/beacon/src/misc.h +++ b/digital/beacon/src/misc.h @@ -29,9 +29,6 @@ #define COLOR_LEFT 1 #define COLOR_RIGHT 0 -/* This function resets the avr using the embedded watchdog */ -void reset_avr(void); - /* This function simulates the jack's state and send it over the air */ void jack_on_off(void); -- cgit v1.2.3