1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-18 03:52:11 +01:00

f4 adc: allow PIOS ADC to be properly excluded from the build

This was preventing the BL image from building
This commit is contained in:
Stacey Sheldon 2012-05-27 21:36:56 -04:00
parent 261e65a6f2
commit c719d5b6cf

View File

@ -45,6 +45,8 @@
#include "pios.h"
#include <pios_adc_priv.h>
#if defined(PIOS_INCLUDE_ADC)
#if !defined(PIOS_ADC_MAX_SAMPLES)
#define PIOS_ADC_MAX_SAMPLES 0
#endif
@ -461,6 +463,8 @@ void PIOS_ADC_DMA_Handler(void)
#endif
}
#endif /* PIOS_INCLUDE_ADC */
/**
* @}
* @}