mbxxx temperature-sensor: remove unused variable

This commit is contained in:
Simon Duquennoy 2015-10-01 15:19:35 +02:00
parent 061c7d15c4
commit 16dd3af1e6

View File

@ -76,7 +76,6 @@ value(int type)
{
static uint16_t ADCvalue;
static int16_t volts;
uint16_t scale=1;
halStartAdcConversion(ADC_USER_APP, ADC_REF_INT, ADC_SOURCE(halGetADCChannelFromGPIO(TEMPERATURE_SENSOR_GPIO),ADC_MUX_VREF2), ADC_CONVERSION_TIME_US_4096);