configuration

This commit is contained in:
2020-11-27 13:37:57 +01:00
parent 9223cbda73
commit cb5dd5f79a
5 changed files with 7 additions and 19 deletions

View File

@ -8,6 +8,7 @@
typedef struct __attribute__((__packed__)) s_configBlock {
char deviceName[16];
uint8_t macAddress[6];
int32_t frontendThreshold;
char brokerName[64];
char watchdogTopic[64];
char startupTopic[64];

View File

@ -9,6 +9,5 @@ void frontendInit();
void frontendAdcCallback(ADC_HandleTypeDef* hadc);
void frontendEnable();
void frontendDisable();
void frontendSetThreshold(int32_t threshold);
#endif // _FRONTEND_H_