Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(zigbee): Change name of macro to avoid possible conflict with esp…
…-zigbee-sdk
  • Loading branch information
P-R-O-C-H-Y committed Mar 26, 2025
commit ad7ef1be3a542810b3b5a450ca5cf42b434f1c3d
2 changes: 1 addition & 1 deletion libraries/Zigbee/src/ep/ZigbeeIlluminanceSensor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
ZigbeeIlluminanceSensor::ZigbeeIlluminanceSensor(uint8_t endpoint) : ZigbeeEP(endpoint) {
_device_id = ESP_ZB_HA_LIGHT_SENSOR_DEVICE_ID;

esp_zb_light_sensor_cfg_t light_sensor_cfg = ESP_ZB_DEFAULT_ILLUMINANCE_SENSOR_CONFIG();
esp_zb_light_sensor_cfg_t light_sensor_cfg = ZIGBEE_DEFAULT_ILLUMINANCE_SENSOR_CONFIG();
_cluster_list = esp_zb_light_sensor_clusters_create(&light_sensor_cfg);

_ep_config = {
Expand Down
2 changes: 1 addition & 1 deletion libraries/Zigbee/src/ep/ZigbeeIlluminanceSensor.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "ZigbeeEP.h"
#include "ha/esp_zigbee_ha_standard.h"

#define ESP_ZB_DEFAULT_ILLUMINANCE_SENSOR_CONFIG() \
#define ZIGBEE_DEFAULT_ILLUMINANCE_SENSOR_CONFIG() \
{ \
.basic_cfg = \
{ \
Expand Down