marked helper function as static/private.
This commit is contained in:
parent
3f1da7ff09
commit
28ac695a26
|
@ -46,7 +46,7 @@ bool is_below_target(uint16_t val)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint16_t sample_adc(uint8_t adc_pin)
|
static uint16_t sample_adc(uint8_t adc_pin)
|
||||||
{
|
{
|
||||||
ADC_Init(adc_pin);
|
ADC_Init(adc_pin);
|
||||||
ADC_Enable();
|
ADC_Enable();
|
||||||
|
|
Loading…
Reference in New Issue