diff options
-rw-r--r-- | tests/adc-power/adc-power.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/adc-power/adc-power.c b/tests/adc-power/adc-power.c index 9b6df07..4ab5e23 100644 --- a/tests/adc-power/adc-power.c +++ b/tests/adc-power/adc-power.c @@ -164,6 +164,8 @@ void adc_power_task_down() { TIM_CNT(TIMER) = 0; adc_power_off(ADC1); + /* double power off should be safe */ + adc_power_off(ADC1); unsigned int td = TIM_CNT(TIMER); printf("toff in: %u\n", td); } |