From 4666f79dd32d4581c2da4c88b17813e7076d8418 Mon Sep 17 00:00:00 2001 From: "Sebastian H. Gabrielli" Date: Sun, 28 Apr 2024 20:23:17 +0200 Subject: [PATCH] Init the fan history as 0 and add Ina to authors in main --- prosjekt.X/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 };