~arthofer-thomas/flashlight-firmware/HW-HAL-bugfixes

« back to all changes in this revision

Viewing changes to ToyKeeper/spaghetti-monster/fsm-adc.h

  • Committer: Thomas Arthofer
  • Date: 2018-11-04 15:57:50 UTC
  • Revision ID: arthofer.thomas@gmail.com-20181104155750-fp62cpjwlh16f91r
Fix ADC interrupts and PWM frequency for PB4

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
#endif
40
40
#endif
41
41
volatile uint8_t voltage;
42
 
volatile uint8_t adcint_enable;  // kludge, because adc auto-retrigger won't turn off
43
42
void low_voltage();
44
43
#ifdef USE_BATTCHECK
45
44
void battcheck();