aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/ergodox_infinity/board_is31fl3731c.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ergodox_infinity/board_is31fl3731c.h')
-rw-r--r--keyboards/ergodox_infinity/board_is31fl3731c.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/ergodox_infinity/board_is31fl3731c.h b/keyboards/ergodox_infinity/board_is31fl3731c.h
index f248cc25b..b2ed2b003 100644
--- a/keyboards/ergodox_infinity/board_is31fl3731c.h
+++ b/keyboards/ergodox_infinity/board_is31fl3731c.h
@@ -104,7 +104,7 @@ static GFXINLINE void set_hardware_shutdown(GDisplay* g, bool shutdown) {
static GFXINLINE void write_data(GDisplay *g, uint8_t* data, uint16_t length) {
(void) g;
- i2cMasterTransmitTimeout(&I2CD1, IS31_ADDR_DEFAULT, data, length, 0, 0, US2ST(IS31_TIMEOUT));
+ i2cMasterTransmitTimeout(&I2CD1, IS31_ADDR_DEFAULT, data, length, 0, 0, TIME_US2I(IS31_TIMEOUT));
}
#endif /* _GDISP_LLD_BOARD_H */