aboutsummaryrefslogtreecommitdiffstats
path: root/sw/lib/delay.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2019-10-19 04:12:33 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2019-10-19 04:12:33 +0200
commit95039bc5231f3c9e4b129fd725c6683d21614620 (patch)
treecb51dec0ac0e8a1fb480bbf32209ef8f9e1ae1d3 /sw/lib/delay.h
parent6d6eba632e4ed0f3f3bff0059f55d3f57dbb9954 (diff)
downloadglutte-batteries-95039bc5231f3c9e4b129fd725c6683d21614620.tar.gz
glutte-batteries-95039bc5231f3c9e4b129fd725c6683d21614620.tar.bz2
glutte-batteries-95039bc5231f3c9e4b129fd725c6683d21614620.zip
Add sw skeleton
Diffstat (limited to 'sw/lib/delay.h')
-rw-r--r--sw/lib/delay.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sw/lib/delay.h b/sw/lib/delay.h
new file mode 100644
index 0000000..af92a4f
--- /dev/null
+++ b/sw/lib/delay.h
@@ -0,0 +1,9 @@
+#ifndef __DELAY_INT_H
+#define __DELAY_INT_H
+
+#include <util/delay.h>
+
+#define delay_us(us) _delay_us(us)
+#define delay_ms(ms) _delay_ms(ms)
+
+#endif