diff options
author | Thomas Albers Raviola <thomas@thomaslabs.org> | 2024-12-02 21:43:04 +0100 |
---|---|---|
committer | Thomas Albers Raviola <thomas@thomaslabs.org> | 2024-12-02 21:43:59 +0100 |
commit | 9cd14efb76a4ddbcd013f44d50dc1ff93d56c4ca (patch) | |
tree | 6784edf3de941c8f7200a133d2f086bcfc08e9f2 /include/zeta.h | |
parent | 37bc2b32d3492a86d87e3642ce48c753264c795a (diff) |
Move bootloader to payload
Diffstat (limited to 'include/zeta.h')
-rw-r--r-- | include/zeta.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/include/zeta.h b/include/zeta.h index 291a2ff..2890199 100644 --- a/include/zeta.h +++ b/include/zeta.h @@ -32,12 +32,6 @@ extern void *port_a_isr_ptr; extern void *port_b_isr_ptr; void -bootloader(void); - -uint16_t -crc16(const void *buf, size_t len); - -void _menu(void); static inline int @@ -58,8 +52,8 @@ clamp(int v, int low, int high) return min(max(v, low), high); } -static inline uint8_t -bcd(uint8_t x) +static inline u8 +bcd(u8 x) { return ((x / 10) << 4) | (x % 10); } |