diff options
| author | Shane Synan | 2023-11-28 14:57:41 -0500 |
|---|---|---|
| committer | Shane Synan | 2023-11-28 14:57:41 -0500 |
| commit | 538e5029dc426bfd61eb3c6b9e2891b3cec355b7 (patch) | |
| tree | ef8550aa5ab82ae7053f66d7e7280f6accbf6f56 /fsm/pcint.h | |
| parent | added a Makefile, so either `make` or `./make` can be used for most tasks (diff) | |
| download | anduril-538e5029dc426bfd61eb3c6b9e2891b3cec355b7.tar.gz anduril-538e5029dc426bfd61eb3c6b9e2891b3cec355b7.tar.bz2 anduril-538e5029dc426bfd61eb3c6b9e2891b3cec355b7.zip | |
bikeflash: Cap default brightness to max, define
Cap fallback default bike flasher brightness to stay below
MAX_BIKING_LEVEL, fixing noFET/boost driver builds where MAX_1x7135 is
above MAX_BIKING_LEVEL.
Add the optional define DEFAULT_BIKING_LEVEL to set the default bike
flasher brightness. This is NOT checked against MAX_BIKING_LEVEL, for
simplicity.
Alternatively, strobe-modes.c could be updated to check if the value
exceeds MAX_BIKING_LEVEL at runtime. However, that might take up more
flash space.
Migrated from https://code.launchpad.net/~digitalcircuit/flashlight-firmware/anduril2_fix_nofet_bikeflash/+merge/408124
Diffstat (limited to 'fsm/pcint.h')
0 files changed, 0 insertions, 0 deletions
