From 75af589f434248ab1b529e62eed70639a8979ecb Mon Sep 17 00:00:00 2001 From: Nico Tonnhofer Date: Sun, 20 Mar 2016 23:59:29 +0100 Subject: [PATCH] STM32F411: comment out analog_mask and adc_channel for STM32 --- analog.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/analog.c b/analog.c index 25c9340..ed237b0 100644 --- a/analog.c +++ b/analog.c @@ -6,6 +6,7 @@ #include "analog.h" #include "temp.h" +#ifndef __ARM_STM32F411__ /** OR-combined mask of all channels. Auto-magically generated from DEFINE_TEMP_SENSOR() entries in config_wrapper.h @@ -32,6 +33,7 @@ static uint8_t adc_channel[NUM_TEMP_SENSORS] = { #include "config_wrapper.h" }; #undef DEFINE_TEMP_SENSOR +#endif #define TEACUP_C_INCLUDE #include "analog-avr.c"