diff options
| author | Selene ToyKeeper | 2023-03-28 13:24:42 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2023-03-28 13:24:42 -0600 |
| commit | a81a9b57f32b79b38efa75c5bf8ebd205bd9e1f5 (patch) | |
| tree | f7bb2ef702da82a63f5fd573e7aed101534077fe /spaghetti-monster/fsm-adc.c | |
| parent | fast-blink the aux LED in standby when battery is low (diff) | |
| download | anduril-a81a9b57f32b79b38efa75c5bf8ebd205bd9e1f5.tar.gz anduril-a81a9b57f32b79b38efa75c5bf8ebd205bd9e1f5.tar.bz2 anduril-a81a9b57f32b79b38efa75c5bf8ebd205bd9e1f5.zip | |
just whitespace / comments
Diffstat (limited to '')
| -rw-r--r-- | spaghetti-monster/fsm-adc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spaghetti-monster/fsm-adc.c b/spaghetti-monster/fsm-adc.c index ce7a31c..60eb843 100644 --- a/spaghetti-monster/fsm-adc.c +++ b/spaghetti-monster/fsm-adc.c @@ -192,7 +192,7 @@ ISR(ADC_vect) { temp += 0x80; // Add 1/2 to get correct rounding on division below temp >>= 8; // Divide result to get Kelvin m = (temp << 6); // left align it - } + } else { m = (ADC0.RES << 6); } // voltage, force left-alignment #else |
