aboutsummaryrefslogtreecommitdiffstats
path: root/fw/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'fw/types.h')
-rw-r--r--fw/types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fw/types.h b/fw/types.h
index 392c7cf..ccdf0ae 100644
--- a/fw/types.h
+++ b/fw/types.h
@@ -18,6 +18,9 @@ typedef struct {
U8 hi, lo;
} U16;
+// Little-endian 32-bit unsigned integer.
+typedef U8 U32[4];
+
// *a = *a+b
void addU16(U16 *a, U8 b);