summaryrefslogtreecommitdiffstats
path: root/pressure_control/firmware/util.c
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2009-05-29 20:48:56 +0200
committerMichael Buesch <mb@bu3sch.de>2009-05-29 20:48:56 +0200
commit76aae654108d525330438951c3bc40918ffc7efa (patch)
tree8fea06b2ff830f6ffda049648fa525c265addca3 /pressure_control/firmware/util.c
parent427335c5264794d980623f0aa308d6e0b3ff0042 (diff)
downloadcnc-76aae654108d525330438951c3bc40918ffc7efa.tar.xz
cnc-76aae654108d525330438951c3bc40918ffc7efa.zip
Remove BUG_ON pointer assertion
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Diffstat (limited to 'pressure_control/firmware/util.c')
-rw-r--r--pressure_control/firmware/util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pressure_control/firmware/util.c b/pressure_control/firmware/util.c
index 241fc19..0b0bbab 100644
--- a/pressure_control/firmware/util.c
+++ b/pressure_control/firmware/util.c
@@ -19,6 +19,7 @@
#include "util.h"
#include "calibration.h"
+#include "remote.h"
#include <util/crc16.h>
#include <avr/io.h>
@@ -74,7 +75,7 @@ void udelay(uint16_t usecs)
void panic(const prog_char *msg)
{
-//TODO
+ print("Panic!");
infinite_sleep();
}
bues.ch cgit interface