mbxxx temperature-sensor: remove unused variable
This commit is contained in:
parent
061c7d15c4
commit
16dd3af1e6
|
@ -76,7 +76,6 @@ value(int type)
|
||||||
{
|
{
|
||||||
static uint16_t ADCvalue;
|
static uint16_t ADCvalue;
|
||||||
static int16_t volts;
|
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);
|
halStartAdcConversion(ADC_USER_APP, ADC_REF_INT, ADC_SOURCE(halGetADCChannelFromGPIO(TEMPERATURE_SENSOR_GPIO),ADC_MUX_VREF2), ADC_CONVERSION_TIME_US_4096);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue