diff --git a/firmware/drivers/isis_antenna/isis_antenna_i2c.c b/firmware/drivers/isis_antenna/isis_antenna_i2c.c index 92b31831..8e532af8 100644 --- a/firmware/drivers/isis_antenna/isis_antenna_i2c.c +++ b/firmware/drivers/isis_antenna/isis_antenna_i2c.c @@ -93,7 +93,7 @@ int isis_antenna_i2c_write(uint8_t *data, uint16_t len) { isis_antenna_delay_ms(1); - if (tca4311a_disable(ants_config) == TCA4311A_NOT_READY) + if (tca4311a_disable(ants_config) == TCA4311A_READY) { err = 0; @@ -148,7 +148,7 @@ int isis_antenna_i2c_read(uint8_t *data, uint16_t len) { isis_antenna_delay_ms(1); - if (tca4311a_disable(ants_config) == TCA4311A_NOT_READY) + if (tca4311a_disable(ants_config) == TCA4311A_READY) { err = 0;