aboutsummaryrefslogtreecommitdiff
path: root/include/zeta.h
diff options
context:
space:
mode:
authorThomas Albers Raviola <thomas@thomaslabs.org>2024-12-02 21:43:04 +0100
committerThomas Albers Raviola <thomas@thomaslabs.org>2024-12-02 21:43:59 +0100
commit9cd14efb76a4ddbcd013f44d50dc1ff93d56c4ca (patch)
tree6784edf3de941c8f7200a133d2f086bcfc08e9f2 /include/zeta.h
parent37bc2b32d3492a86d87e3642ce48c753264c795a (diff)
Move bootloader to payload
Diffstat (limited to 'include/zeta.h')
-rw-r--r--include/zeta.h10
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);
}