We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b9eff3 commit 233c336Copy full SHA for 233c336
libraries/Zigbee/src/ep/ZigbeeMultistate.cpp
@@ -1,6 +1,25 @@
1
#include "ZigbeeMultistate.h"
2
#if CONFIG_ZB_ENABLED
3
4
+// Workaround for ESP-ZIGBEE-SDK 1.6.6 known issue
5
+#ifdef __cplusplus
6
+extern "C" {
7
+#endif
8
+extern void esp_zb_zcl_multi_input_init_server(void);
9
+extern void esp_zb_zcl_multi_input_init_client(void);
10
+
11
+void esp_zb_zcl_multistate_input_init_server(void)
12
+{
13
+ esp_zb_zcl_multi_input_init_server();
14
+}
15
+void esp_zb_zcl_multistate_input_init_client(void)
16
17
+ esp_zb_zcl_multi_input_init_client();
18
19
20
21
22
23
ZigbeeMultistate::ZigbeeMultistate(uint8_t endpoint) : ZigbeeEP(endpoint) {
24
_device_id = ESP_ZB_HA_SIMPLE_SENSOR_DEVICE_ID;
25
0 commit comments