marked helper function as static/private.

This commit is contained in:
jakeg00dwin 2024-09-23 12:14:51 -07:00
parent 3f1da7ff09
commit 28ac695a26
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ bool is_below_target(uint16_t val)
return false;
}
uint16_t sample_adc(uint8_t adc_pin)
static uint16_t sample_adc(uint8_t adc_pin)
{
ADC_Init(adc_pin);
ADC_Enable();