diff --git a/source/arm11/hardware/mcu.c b/source/arm11/hardware/mcu.c index 81bb220..2f4b597 100644 --- a/source/arm11/hardware/mcu.c +++ b/source/arm11/hardware/mcu.c @@ -85,7 +85,7 @@ state = I2C_readReg(I2C_DEV_MCU, RegExHW); - return (state & (1u << 4)) == 1; + return (bool) (state & (1u << 4)); } u8 MCU_readSystemModel(void)