aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/templates/adc_lld.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/templates/adc_lld.c')
-rw-r--r--os/hal/templates/adc_lld.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/os/hal/templates/adc_lld.c b/os/hal/templates/adc_lld.c
index 54622beb7..6c541f557 100644
--- a/os/hal/templates/adc_lld.c
+++ b/os/hal/templates/adc_lld.c
@@ -83,6 +83,10 @@ void adc_lld_start(ADCDriver *adcp) {
*/
void adc_lld_stop(ADCDriver *adcp) {
+ if (adcp->ad_state == ADC_READY) {
+ /* Clock de-activation.*/
+
+ }
}
/**