diff --git a/firmware/hw_layer/drivers/gpio/tle8888.h b/firmware/hw_layer/drivers/gpio/tle8888.h index 5595f5a3dd..4a00c3b835 100644 --- a/firmware/hw_layer/drivers/gpio/tle8888.h +++ b/firmware/hw_layer/drivers/gpio/tle8888.h @@ -25,7 +25,7 @@ // we can change this value on TLE8888QK but we probably do not have a reason to change #define Window_watchdog_close_window_time_ms 100.8 -#define getRegisterFromResponse(x) (x >> 1) & 0x7f +#define getRegisterFromResponse(x) (((x) >> 1) & 0x7f) // unchangeable value for TLE8888QK // unused for now