1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

pios_mpu6000: fixed masked locals mistake

This commit is contained in:
lilvinz 2012-09-16 21:25:06 +02:00
parent c88c4f0fc0
commit 524cff1c40

View File

@ -435,9 +435,6 @@ void PIOS_MPU6000_IRQHandler(void)
if(PIOS_MPU6000_ClaimBus() != 0)
return;
uint8_t mpu6000_send_buf[1+sizeof(struct pios_mpu6000_data)] = {PIOS_MPU6000_FIFO_REG | 0x80, 0, 0, 0, 0, 0, 0, 0, 0};
uint8_t mpu6000_rec_buf[1+sizeof(struct pios_mpu6000_data)];
if(PIOS_SPI_TransferBlock(dev->spi_id, &mpu6000_send_buf[0], &mpu6000_rec_buf[0], sizeof(mpu6000_send_buf), NULL) < 0) {
PIOS_MPU6000_ReleaseBus();
mpu6000_fails++;