controller-legacy/include/models/relay.h

18 lines
256 B
C
Raw Normal View History

2019-11-15 00:23:43 +00:00
#ifndef CONTROLLER_RELAY_H
#define CONTROLLER_RELAY_H
#include <stdint.h>
#include <config.h>
typedef struct relay {
uint8_t index;
char name[128];
uint16_t *schedule;
} relay;
relay*
relay_init(uint8_t index);
#endif //CONTROLLER_RELAY_H