1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-20 10:54:14 +01:00

Disable beta hardware bmp085 driver until it's updated. Not necessary anyway

since on the INS.
This commit is contained in:
James Cotton 2011-08-15 05:00:02 -05:00
parent db9c73db45
commit bcca705750
3 changed files with 4 additions and 6 deletions

View File

@ -56,7 +56,7 @@ endif
FLASH_TOOL = OPENOCD
# List of modules to include
MODULES = Actuator Telemetry GPS ManualControl Altitude AHRSComms Stabilization Guidance FirmwareIAP
MODULES = Actuator Telemetry GPS ManualControl AHRSComms Stabilization Guidance FirmwareIAP
PYMODULES = FlightPlan
#MODULES = Telemetry Example
#MODULES = Telemetry MK/MKSerial
@ -180,7 +180,7 @@ SRC += $(PIOSSTM32F10X)/pios_usb_hid_desc.c
SRC += $(PIOSSTM32F10X)/pios_usb_hid_istr.c
SRC += $(PIOSSTM32F10X)/pios_usb_hid_prop.c
SRC += $(PIOSSTM32F10X)/pios_usb_hid_pwr.c
SRC += $(PIOSSTM32F10X)/pios_bmp085.c
#SRC += $(PIOSSTM32F10X)/pios_bmp085.c
## PIOS Hardware (Common)
SRC += $(PIOSCOMMON)/pios_crc.c

View File

@ -48,9 +48,9 @@ void EXTI15_10_IRQHandler(void)
if (EXTI_GetITStatus(PIOS_BMP085_EOC_EXTI_LINE) != RESET) {
/* Read the ADC Value */
#if defined(PIOS_INCLUDE_FREERTOS)
xSemaphoreGiveFromISR(PIOS_BMP085_EOC, &xHigherPriorityTaskWoken);
// xSemaphoreGiveFromISR(PIOS_BMP085_EOC, &xHigherPriorityTaskWoken);
#else
PIOS_BMP085_EOC=1;
//TOOD: Update BMP driver PIOS_BMP085_EOC=1;
#endif /* PIOS_INCLUDE_FREERTOS */
/* Clear the EXTI line pending bit */

View File

@ -603,8 +603,6 @@ void PIOS_SPI_IRQ_Handler(uint32_t spi_id)
}
}*/
flags++;
// FIXME XXX Only RX channel or better clear flags for both channels?
DMA_ClearITPendingBit(spi_dev->cfg->dma.rx.channel, spi_dev->cfg->dma.irq.flags);