aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-main.c
diff options
context:
space:
mode:
authorSelene ToyKeeper2020-03-16 03:44:42 -0600
committerSelene ToyKeeper2020-03-16 03:44:42 -0600
commit2ac137648d6769ebf31eed9932bd868ca28c05e5 (patch)
tree05f9e239c55c1d851af32cbf5ab711d1b5261cb9 /spaghetti-monster/fsm-main.c
parentmention the maximum allowed temperature in the manual (diff)
parentfixed a few things in ramping-ui, rampingiosv3, and werner's UI (diff)
downloadanduril-2ac137648d6769ebf31eed9932bd868ca28c05e5.tar.gz
anduril-2ac137648d6769ebf31eed9932bd868ca28c05e5.tar.bz2
anduril-2ac137648d6769ebf31eed9932bd868ca28c05e5.zip
merged adc-rework branch, which rewrote all ADC code (voltage, temperature, and everything touched by those)
and seems to greatly improve the thermal regulation
Diffstat (limited to 'spaghetti-monster/fsm-main.c')
-rw-r--r--spaghetti-monster/fsm-main.c2
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