diff --git a/flight/pios/common/pios_mpu6000.c b/flight/pios/common/pios_mpu6000.c index d3f7e6c44..d30a8af64 100644 --- a/flight/pios/common/pios_mpu6000.c +++ b/flight/pios/common/pios_mpu6000.c @@ -601,7 +601,7 @@ static bool PIOS_MPU6000_HandleData() queue_data->temperature = 3500 + ((float)(temp + 512)) * (1.0f / 3.4f); BaseType_t higherPriorityTaskWoken; - xQueueSendToBackFromISR(dev->queue, (void *)&queue_data, &higherPriorityTaskWoken); + xQueueSendToBackFromISR(dev->queue, (void *)queue_data, &higherPriorityTaskWoken); return higherPriorityTaskWoken == pdTRUE; } diff --git a/flight/pios/inc/pios_hmc5x83.h b/flight/pios/inc/pios_hmc5x83.h index 3f81c4c9f..d7281ba03 100644 --- a/flight/pios/inc/pios_hmc5x83.h +++ b/flight/pios/inc/pios_hmc5x83.h @@ -132,7 +132,7 @@ extern uint8_t PIOS_HMC5x83_ReadID(pios_hmc5x83_dev_t handler, uint8_t out[4]); extern int32_t PIOS_HMC5x83_Test(pios_hmc5x83_dev_t handler); extern bool PIOS_HMC5x83_IRQHandler(pios_hmc5x83_dev_t handler); -extern const PIOS_SENSORS_Driver PIOS_MPU6000_Driver; +extern const PIOS_SENSORS_Driver PIOS_HMC5x83_Driver; #endif /* PIOS_HMC5x83_H */