Skip to content

Commit b1dae7f

Browse files
Fix debug build issue (#300)
Fixes #299
1 parent 8be18f2 commit b1dae7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

i2c/ht16k33_i2c/ht16k33_i2c.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,15 @@ void ht16k33_init() {
9494
}
9595

9696
// Send a specific binary value to the specified digit
97-
inline void ht16k33_display_set(int position, uint16_t bin) {
97+
static inline void ht16k33_display_set(int position, uint16_t bin) {
9898
uint8_t buf[3];
9999
buf[0] = position * 2;
100100
buf[1] = bin & 0xff;
101101
buf[2] = bin >> 8;
102102
i2c_write_blocking(i2c_default, I2C_addr, buf, count_of(buf), false);
103103
}
104104

105-
inline void ht16k33_display_char(int position, char ch) {
105+
static inline void ht16k33_display_char(int position, char ch) {
106106
ht16k33_display_set(position, char_to_pattern(ch));
107107
}
108108

0 commit comments

Comments
 (0)