We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 46dbc9b + 540e8a6 commit 9db652bCopy full SHA for 9db652b
1 file changed
src/main.c
@@ -66,7 +66,7 @@ const wpan_cluster_table_entry_t custom_ep_clusters[] = {
66
{CUSTOM_EP_CUSTOM_CLUSTER, custom_ep_rx_cluster, NULL,
67
WPAN_CLUST_FLAG_INOUT | WPAN_CLUST_FLAG_NOT_ZCL},
68
WPAN_CLUST_ENTRY_LIST_END
69
-;
+};
70
71
72
int custom_ep_default_cluster(const wpan_envelope_t FAR *envelope, void FAR *context)
@@ -178,8 +178,9 @@ void rtc_periodic_task(void)
178
#ifdef relayTimer_irq
179
void relayTimer_irq(void)
180
{
181
- gpio_set(LED_GROVE, !gpio_get(LED_GROVE));
182
puts("EVENT TRIGGERED: relayTimer_irq");
+ gpio_set(RELAY, 0);
183
+ gpio_set(RELAY_2, 0);
184
}
185
#endif
186
0 commit comments