Add channel_get_timespec()
This commit is contained in:
@ -31,6 +31,7 @@ uint8_t channel_idx_by_gpio(int gpio);
|
||||
void channel_set(int idx, bool state);
|
||||
void channel_set_duration(int idx, bool state, uint16_t seconds);
|
||||
bool channel_get(int idx);
|
||||
struct mgos_timespec *channel_get_timespec(int idx);
|
||||
int channel_get_total();
|
||||
void channel_handler(int gpio, void *arg);
|
||||
void channel_override_set(int idx);
|
||||
|
Reference in New Issue
Block a user