Tweak HAL_adc_start_conversion

This commit is contained in:
Scott Lahteine
2017-09-27 03:52:29 -05:00
parent 0cb4d25431
commit 358656acc3
5 changed files with 5 additions and 5 deletions

View File

@@ -112,7 +112,7 @@ int freeMemory() {
// ADC
// --------------------------------------------------------------------------
void HAL_adc_start_conversion(uint8_t adc_pin) {
void HAL_adc_start_conversion(const uint8_t adc_pin) {
HAL_adc_result = analogRead(adc_pin);
}