diff --git a/flight/PiOS/Common/pios_hmc5883.c b/flight/PiOS/Common/pios_hmc5883.c index 14d4f96fe..4d43f7bd2 100644 --- a/flight/PiOS/Common/pios_hmc5883.c +++ b/flight/PiOS/Common/pios_hmc5883.c @@ -393,7 +393,7 @@ int32_t PIOS_HMC5883_Test(void) */ bool PIOS_HMC5883_IRQHandler(void) { - pios_hmc5883_data_ready = true + pios_hmc5883_data_ready = true; return false; } diff --git a/flight/PiOS/inc/pios_hmc5883.h b/flight/PiOS/inc/pios_hmc5883.h index d9c362e9d..91452028a 100644 --- a/flight/PiOS/inc/pios_hmc5883.h +++ b/flight/PiOS/inc/pios_hmc5883.h @@ -107,7 +107,7 @@ extern bool PIOS_HMC5883_NewDataAvailable(void); extern int32_t PIOS_HMC5883_ReadMag(int16_t out[3]); extern uint8_t PIOS_HMC5883_ReadID(uint8_t out[4]); extern int32_t PIOS_HMC5883_Test(void); -bool void PIOS_HMC5883_IRQHandler(); +bool PIOS_HMC5883_IRQHandler(); #endif /* PIOS_HMC5883_H */ /**