Merge I2C command handler into main #18
@ -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 <util/delay.h>
|
||||
|
||||
// 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 };
|
||||
|
||||
Loading…
Reference in New Issue
Block a user