implement config
This commit is contained in:
@ -1,13 +1,17 @@
|
||||
#pragma once
|
||||
|
||||
#include "sdkconfig.h"
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#define MAX(a, b) ((a) > (b) ? (a) : (b))
|
||||
#define INITIALISATION_VALUE 0.0f
|
||||
#define AVG10S_SAMPLE_SIZE 10U
|
||||
#define AVG60S_SAMPLE_SIZE 60U
|
||||
#define AVG24H_SAMPLE_SIZE 24U
|
||||
#define PRED60S_SAMPLE_SIZE 60U
|
||||
#define DAMPING_FACTOR_WARMER 0.00001f // 0.001%
|
||||
#define DAMPING_FACTOR_COLDER 0.00005f // 0.005%
|
||||
#define DAMPING_FACTOR_WARMER (CONFIG_DAMPING_FACTOR_WARMER * 0.00001f)
|
||||
#define DAMPING_FACTOR_COLDER (CONFIG_DAMPING_FACTOR_COLDER * 0.00001f)
|
||||
|
||||
typedef enum _BurnerErrorState
|
||||
{
|
||||
@ -52,4 +56,4 @@ sMeasurement getChamberTemperature(void);
|
||||
sMeasurement getOutdoorTemperature(void);
|
||||
sMeasurement getInletFlowTemperature(void);
|
||||
sMeasurement getReturnFlowTemperature(void);
|
||||
eBurnerErrorState getBurnerError(void);
|
||||
eBurnerErrorState getBurnerError(void);
|
||||
|
||||
Reference in New Issue
Block a user