diff options
| author | Gabriel Hart | 2021-10-29 12:51:10 -0500 |
|---|---|---|
| committer | Gabriel Hart | 2021-10-29 12:51:10 -0500 |
| commit | 78417e78ef4dbeed7a9a3c0b2cad81341685dca0 (patch) | |
| tree | 39db7a2d52b8e7cd9bafa8e5557df24f46049507 /spaghetti-monster/fsm-ramping.c | |
| parent | Add thefreeman's DAC linear driver (beta); also update Sofirn bilds to use th... (diff) | |
| parent | Clarified Ramp->2C behavior a bit more. (diff) | |
| download | anduril-78417e78ef4dbeed7a9a3c0b2cad81341685dca0.tar.gz anduril-78417e78ef4dbeed7a9a3c0b2cad81341685dca0.tar.bz2 anduril-78417e78ef4dbeed7a9a3c0b2cad81341685dca0.zip | |
Merge TKs changes through her commit 628
Diffstat (limited to 'spaghetti-monster/fsm-ramping.c')
| -rw-r--r-- | spaghetti-monster/fsm-ramping.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spaghetti-monster/fsm-ramping.c b/spaghetti-monster/fsm-ramping.c index e8fcde7..05c2e0e 100644 --- a/spaghetti-monster/fsm-ramping.c +++ b/spaghetti-monster/fsm-ramping.c @@ -267,7 +267,9 @@ void gradual_tick() { ) { //actual_level = gt + 1; + uint8_t orig = gradual_target; set_level(gt + 1); + gradual_target = orig; } // is handled in set_level() //#ifdef USE_TINT_RAMPING |
