lp://staging/~mkong1/flashlight-firmware/anduril2

Created by Michael Kong and last modified
Get this branch:
bzr branch lp://staging/~mkong1/flashlight-firmware/anduril2
Only Michael Kong can upload to this branch. If you are Michael Kong please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Michael Kong
Project:
Flashlight Firmware Repository
Status:
Development

Recent revisions

580. By Michael Kong

USE_UNLOCK_TO_OFF var, default anduril1 unlock behavior compile-time option

579. By Selene Scriven <email address hidden>

added model number to Lume1 FW3X build target

578. By Selene Scriven <email address hidden>

merged fsm branch, mostly to get Lume1 driver support

577. By Selene Scriven <email address hidden>

s/goodnight/sunset/ in "meta" files, removed "muggle" from anduril2

576. By Selene Scriven <email address hidden>

added ramp 3H -> momentary turbo

575. By Selene Scriven <email address hidden>

improved docs, changed blinky order: Battcheck, Tempcheck, Beacon, SOS

574. By Selene Scriven <email address hidden>

fixed factory reset (forgot one line in previous commit)

573. By Selene Scriven <email address hidden>

reworked nice_delay interrupt system and fixed some old issues:

- added set_state_deferred(), to avoid timing issues when changing state in loop()
  (fixes bug where first button press after version check was sometimes ignored,
   and similar issue after battcheck in simple UI)

- reduced chance of eating first button press after simple UI's battcheck,
  because it spent an extra second waiting after finishing the readout,
  and it wasn't intuitive for a single click to go from "post-battcheck darkness"
  to "off" during that period

- made interrupt_nice_delays() happen every time the state changes, instead of
  having nice_delay() explicitly check for state changes while it waits...
  (because the explicit check was buggy and used more ROM)

- made nice_delay_ms() abort immediately when interrupt is set, instead of waiting
  1ms before it even checks for the interrupt condition... this makes aborted
  animations end a lot faster, with less visible flickering

- made blink_num() smaller and simpler, because changes listed above make it possible

- slightly changed order of events in main(), to accommodate for changes above

- fixed issue where battcheck would keep trying to blink out numbers while the user
  was holding 10H for voltage config mode

- ... and reduced ROM size by about 38 bytes

572. By Selene Scriven <email address hidden>

fixed bug: momentary bike mode could sometimes get stuck on for a few seconds after releasing button

571. By Selene Scriven <email address hidden>

merged from fsm to get K1-12V thermal fix

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp://staging/flashlight-firmware
This branch contains Public information 
Everyone can see this information.

Subscribers