13 lines
174 B
C
13 lines
174 B
C
#pragma once
|
|
|
|
#include "app_config.h"
|
|
|
|
struct RelayState {
|
|
bool state[MAX_RELAYS] = {false};
|
|
};
|
|
|
|
extern RelayState relays;
|
|
|
|
void initRelays();
|
|
void updateRelayOutputs();
|