summaryrefslogtreecommitdiffhomepage
path: root/digital/beacon
diff options
context:
space:
mode:
authorFlorent Duchon2013-02-14 21:45:03 +0100
committerFlorent Duchon2013-03-24 15:51:18 +0100
commitc0abbe9cb71ff0aacc19a86b41662beddfb594c7 (patch)
treed16cd1f85610b310228563e7c8f0a9f498f2613b /digital/beacon
parent9af9f7358a4a483c0434a6822bf2717072344ffc (diff)
digital/beacon: use common reset function
Diffstat (limited to 'digital/beacon')
-rw-r--r--digital/beacon/src/misc.c6
-rw-r--r--digital/beacon/src/misc.h3
2 files changed, 0 insertions, 9 deletions
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);