diff options
| author | Selene ToyKeeper | 2020-01-29 05:08:14 -0700 |
|---|---|---|
| committer | Selene ToyKeeper | 2020-01-29 05:08:14 -0700 |
| commit | 9c0d1832464e4ee7ee8c4c63092ac4337347483b (patch) | |
| tree | 67eb820b425e7a5e019e7158dda30ebab5e1bbe8 /spaghetti-monster/fsm-main.c | |
| parent | fixed too-slow thermal response (was introduced in the irq-refactor branch) (diff) | |
| download | anduril-9c0d1832464e4ee7ee8c4c63092ac4337347483b.tar.gz anduril-9c0d1832464e4ee7ee8c4c63092ac4337347483b.tar.bz2 anduril-9c0d1832464e4ee7ee8c4c63092ac4337347483b.zip | |
rewrote ADC code to use a continuous lowpass system on all measurements, to eliminate noise and maybe increase precision
(thermal code still needs to be rewritten though)
Diffstat (limited to 'spaghetti-monster/fsm-main.c')
| -rw-r--r-- | spaghetti-monster/fsm-main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spaghetti-monster/fsm-main.c b/spaghetti-monster/fsm-main.c index 4ad1e16..790cc68 100644 --- a/spaghetti-monster/fsm-main.c +++ b/spaghetti-monster/fsm-main.c @@ -181,7 +181,7 @@ void handle_deferred_interrupts() { } */ if (irq_adc) { // ADC done measuring - ADC_inner(); + adc_deferred(); // irq_adc = 0; // takes care of itself } if (irq_wdt) { // the clock ticked |
