~toykeeper/flashlight-firmware/trunk

Viewing all changes in revision 65.

  • Committer: Selene Scriven
  • Date: 2014-11-06 08:25:20 UTC
  • Revision ID: selene.scriven@canonical.com-20141106082520-3dww00idwprsebr2
Enabled, fixed, and tested turbo step-down.
Will probably disable it by default later to make room for other stuff,
  but at least it works.  Not sure why comparing current level to 255 didn't
  work, but comparing mode index to the size of the array does the right thing.
Updated prev_mode() to work with current UI.
Wrapped more voltage-related stuff in #defines to make it easier to disable.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: