1
0
mirror of https://github.com/elua/elua.git synced 2025-01-25 01:02:54 +08:00

Avoid compiler warning about adc_int_handler() when NUM_ADC == 0

This commit is contained in:
Martin Guy 2011-04-13 12:01:51 +02:00
parent 2873ac892a
commit d0eae8c433
2 changed files with 3 additions and 0 deletions

View File

@ -22,6 +22,7 @@
//#define BUILD_RPC
#define BUF_ENABLE_UART
#define BUILD_C_INT_HANDLERS
#define BUILD_ADC
// *****************************************************************************
// UART/Timer IDs configuration data (used in main.c)

View File

@ -37,7 +37,9 @@ extern int pm_configure_clocks( pm_freq_param_t *param );
static u32 platform_timer_set_clock( unsigned id, u32 clock );
#if NUM_ADC > 0
__attribute__((__interrupt__)) static void adc_int_handler();
#endif
// Virtual timers support
#if VTMR_NUM_TIMERS > 0