summaryrefslogtreecommitdiffstats
path: root/pressure_control/firmware/util.c
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2009-05-29 17:55:31 +0200
committerMichael Buesch <mb@bu3sch.de>2009-05-29 17:55:31 +0200
commit427335c5264794d980623f0aa308d6e0b3ff0042 (patch)
treec950db15379d5eee39402b400d04ab15863521ec /pressure_control/firmware/util.c
parent78a8c4acd7c429fd599c37d7dad83231da776a47 (diff)
downloadcnc-427335c5264794d980623f0aa308d6e0b3ff0042.tar.xz
cnc-427335c5264794d980623f0aa308d6e0b3ff0042.zip
pressure-control: Fix APIs for multiple sensors
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Diffstat (limited to 'pressure_control/firmware/util.c')
-rw-r--r--pressure_control/firmware/util.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/pressure_control/firmware/util.c b/pressure_control/firmware/util.c
index 0f3b8b7..241fc19 100644
--- a/pressure_control/firmware/util.c
+++ b/pressure_control/firmware/util.c
@@ -25,6 +25,11 @@
#include <avr/sleep.h>
+const prog_uint8_t bit2mask_lt[] = {
+ 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80,
+};
+
+
void mdelay(uint16_t msecs)
{
uint8_t timer, i;
bues.ch cgit interface