diff --git a/prosjekt.X/main.c b/prosjekt.X/main.c index 35b71c9..2fe917d 100644 --- a/prosjekt.X/main.c +++ b/prosjekt.X/main.c @@ -1,6 +1,6 @@ /* * File: main.c - * Author: Sebastian H. Gabrielli, Helle Augland Grasmo + * Author: Sebastian H. Gabrielli, Helle Augland Grasmo, Ina Min Rørnes * * Created on March 6, 2024, 12:34 PM */ @@ -24,8 +24,8 @@ #include // Fan history variables -volatile uint16_t fan1_history[512] = {1, 2, 3, 4}; -volatile uint16_t fan2_history[512] = {2, 3, 4, 5}; +volatile uint16_t fan1_history[512] = { 0 }; +volatile uint16_t fan2_history[512] = { 0 }; // Default config is 500ms sample rate volatile config_t config = { 500 };