Fix some whitespace

This commit is contained in:
Scott Lahteine
2019-05-26 15:24:10 -05:00
parent 212860f090
commit c6d39319de
4 changed files with 7 additions and 7 deletions

View File

@ -148,7 +148,7 @@ adc1_channel_t get_channel(int pin) {
void HAL_adc_init() {
// Configure ADC
adc1_config_width(ADC_WIDTH_12Bit);
// Configure channels only if used as (re-)configuring a pin for ADC that is used elsewhere might have adverse effects
#if HAS_TEMP_ADC_0
adc1_config_channel_atten(get_channel(TEMP_0_PIN), ADC_ATTEN_11db);