From 9cd14efb76a4ddbcd013f44d50dc1ff93d56c4ca Mon Sep 17 00:00:00 2001 From: Thomas Albers Raviola Date: Mon, 2 Dec 2024 21:43:04 +0100 Subject: Move bootloader to payload --- include/zeta.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'include') diff --git a/include/zeta.h b/include/zeta.h index 291a2ff..2890199 100644 --- a/include/zeta.h +++ b/include/zeta.h @@ -31,12 +31,6 @@ extern void *ctc3_isr_ptr; 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); @@ -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); } -- cgit v1.2.3