From 366330d3943ec4e066197a8d034d90caf8422a1d Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Sat, 6 Sep 2025 13:24:11 -0400 Subject: fw: handle "w" write eeprom command --- fw/types.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'fw/types.h') diff --git a/fw/types.h b/fw/types.h index 22a651e..835491d 100644 --- a/fw/types.h +++ b/fw/types.h @@ -7,10 +7,15 @@ * #include "types.h" */ +typedef enum { + OK, + FAIL, +} Status; + typedef uint8_t U8; typedef struct { - U8 lo, hi; + U8 hi, lo; } U16; -void incU16(U16 *x); +void addU16(U16 *a, U8 b); -- cgit v1.2.3