| Commit message (Collapse) | Author | Files | Lines |
|
(it was doing stuff like "press, release, release, timeout" so it didn't match "press, release, timeout")
(it may have also been missing the exact tick it needed, so I made it use >= instead of ==, but this is theoretical and harmless if I was wrong)
Made baton mode memory work a bit better for both regular and strobe modes.
Made baton fast strobe pulses shorter for better motion freezing.
Added USE_DELAY_ZERO option as an alternate for USE_FINE_DELAY.
|
|
Changed how tk-attiny.h detects whether a layout was defined.
Changed how tk-attiny.h detects number of PWM channels for new-style layouts.
Added no-underscore versions of delay functions.
Lots of RoundTable refactoring and blank-filling.
|
|
|
|
|
|
more than they need millisecond delay precision.
(may break other projects unless I add a different way to enable the code, beware)
|
|
As a separate function, it seems to produce smaller builds.
|
|
|
|
portability a bit better.
Moved MCU hardware options and pin layout to tk-attiny.h.
Moved voltage and OTC hardcoded values to tk-calibration.h.
Moved delay functions to tk-delay.h, and made it use BOGOMIPS instead of DELAY_TWEAK.
Moved voltage ADC and most of the battcheck code to tk-voltage.h.
Changed EEPLEN to EEPSIZE.
Made 1.1V reference symbol consistent across MCUs to avoid repeated #if/#else clauses.
|