diff options
| author | Selene ToyKeeper | 2020-04-26 22:03:22 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2020-04-26 22:03:22 -0600 |
| commit | d4cdfd20e21a332aa6d191955998ee460f243c0d (patch) | |
| tree | d79dc759421112eefc05401828efa21c7de11176 /spaghetti-monster/fsm-standby.c | |
| parent | fixed eeprom corruption after turning boost chip on/off (diff) | |
| parent | added tweakable thermal_response_magnitude option, adjusted KR4 thermal vars,... (diff) | |
| download | anduril-d4cdfd20e21a332aa6d191955998ee460f243c0d.tar.gz anduril-d4cdfd20e21a332aa6d191955998ee460f243c0d.tar.bz2 anduril-d4cdfd20e21a332aa6d191955998ee460f243c0d.zip | |
merged Noctigon KR4 branch, including recent ADC+thermal rewrite
Diffstat (limited to 'spaghetti-monster/fsm-standby.c')
| -rw-r--r-- | spaghetti-monster/fsm-standby.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spaghetti-monster/fsm-standby.c b/spaghetti-monster/fsm-standby.c index 9398f52..b002b91 100644 --- a/spaghetti-monster/fsm-standby.c +++ b/spaghetti-monster/fsm-standby.c @@ -73,8 +73,8 @@ void sleep_until_eswitch_pressed() go_to_standby = 0; } if (irq_adc) { // ADC done measuring - adcint_enable = 1; - ADC_inner(); + adc_deferred_enable = 1; + adc_deferred(); //ADC_off(); // takes care of itself //irq_adc = 0; // takes care of itself } |
