diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2025-09-06 13:24:11 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2025-09-06 13:24:11 -0400 |
| commit | 366330d3943ec4e066197a8d034d90caf8422a1d (patch) | |
| tree | eef4e0cc7882f77be931b81c8b5bb4c91dbcc0aa /fw/types.h | |
| parent | df3ed451bf11d40e6369b0333fef92c536c57b4d (diff) | |
| download | can-gauge-interface-366330d3943ec4e066197a8d034d90caf8422a1d.zip | |
fw: handle "w" write eeprom command
Diffstat (limited to 'fw/types.h')
| -rw-r--r-- | fw/types.h | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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); |