aboutsummaryrefslogtreecommitdiffstats
path: root/fw/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'fw/types.h')
-rw-r--r--fw/types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/fw/types.h b/fw/types.h
index 835491d..392c7cf 100644
--- a/fw/types.h
+++ b/fw/types.h
@@ -18,4 +18,8 @@ typedef struct {
U8 hi, lo;
} U16;
+// *a = *a+b
void addU16(U16 *a, U8 b);
+
+// *a = *a<<b
+void lshiftU16(U16 *a, U8 b);