STM32F411: comment out analog_mask and adc_channel for STM32
This commit is contained in:
parent
efd8279c1a
commit
75af589f43
2
analog.c
2
analog.c
|
|
@ -6,6 +6,7 @@
|
||||||
#include "analog.h"
|
#include "analog.h"
|
||||||
#include "temp.h"
|
#include "temp.h"
|
||||||
|
|
||||||
|
#ifndef __ARM_STM32F411__
|
||||||
/**
|
/**
|
||||||
OR-combined mask of all channels. Auto-magically generated from
|
OR-combined mask of all channels. Auto-magically generated from
|
||||||
DEFINE_TEMP_SENSOR() entries in config_wrapper.h
|
DEFINE_TEMP_SENSOR() entries in config_wrapper.h
|
||||||
|
|
@ -32,6 +33,7 @@ static uint8_t adc_channel[NUM_TEMP_SENSORS] = {
|
||||||
#include "config_wrapper.h"
|
#include "config_wrapper.h"
|
||||||
};
|
};
|
||||||
#undef DEFINE_TEMP_SENSOR
|
#undef DEFINE_TEMP_SENSOR
|
||||||
|
#endif
|
||||||
|
|
||||||
#define TEACUP_C_INCLUDE
|
#define TEACUP_C_INCLUDE
|
||||||
#include "analog-avr.c"
|
#include "analog-avr.c"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue