From 6add7cc4d27c161cd525f621b8d3276156710ac9 Mon Sep 17 00:00:00 2001 From: James Cotton Date: Fri, 28 Sep 2012 01:10:46 -0500 Subject: [PATCH] Fix HMC5883 driver after Vinz' changes to PIOS_EXTI --- flight/PiOS/Common/pios_hmc5883.c | 2 +- flight/PiOS/inc/pios_hmc5883.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 */ /**