X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?p=tinyboard.git;a=blobdiff_plain;f=projects%2Fstep-up%2Flights.h;fp=projects%2Fstep-up%2Flights.h;h=2980cd3678b06c0eba88c649ebdcea8c6a56f1de;hp=6cf5a3020a02669eabc112569ea456563ed5c15e;hb=0c777e2b120ebdb407cc5cbbd29dda16353cd931;hpb=fbbdcc41a590e41e87a05d3cac31f893cb52f8cb diff --git a/projects/step-up/lights.h b/projects/step-up/lights.h index 6cf5a30..2980cd3 100644 --- a/projects/step-up/lights.h +++ b/projects/step-up/lights.h @@ -21,11 +21,13 @@ void inline log_word(uint16_t word) { } /* adc.c */ #define PWMLED_ADC_SHIFT 1 /* 1<<1 measurements per single callback */ extern volatile unsigned char need_battery_adc; +extern volatile unsigned char adc_running; void init_adc(); void susp_adc(); /* pwm.c */ #define PWM_MAX 0xFF +extern volatile unsigned char pwm_running; void init_pwm(); void susp_pwm(); void pwm_off();