Fix debug build issue (#300)

Fixes #299
This commit is contained in:
Peter Harper
2022-12-06 11:07:05 +00:00
committed by GitHub
parent 8be18f2998
commit b1dae7fb6d

View File

@@ -94,7 +94,7 @@ void ht16k33_init() {
}
// Send a specific binary value to the specified digit
inline void ht16k33_display_set(int position, uint16_t bin) {
static inline void ht16k33_display_set(int position, uint16_t bin) {
uint8_t buf[3];
buf[0] = position * 2;
buf[1] = bin & 0xff;
@@ -102,7 +102,7 @@ inline void ht16k33_display_set(int position, uint16_t bin) {
i2c_write_blocking(i2c_default, I2C_addr, buf, count_of(buf), false);
}
inline void ht16k33_display_char(int position, char ch) {
static inline void ht16k33_display_char(int position, char ch) {
ht16k33_display_set(position, char_to_pattern(ch));
}