File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -249,7 +249,7 @@ void ZigbeeEP::zbReadBasicCluster(const esp_zb_zcl_attribute_t *attribute) {
249
249
std::vector<char > zb_manufacturer (zbstr->len + 1 );
250
250
memcpy (zb_manufacturer.data (), zbstr->data , zbstr->len );
251
251
zb_manufacturer[zbstr->len ] = ' \0 ' ;
252
- log_i (" Peer Manufacturer is \" %s\" " , zb_manufacturer);
252
+ log_i (" Peer Manufacturer is \" %s\" " , zb_manufacturer. data () );
253
253
free (_read_manufacturer); // Free any previously allocated memory
254
254
_read_manufacturer = strdup (zb_manufacturer.data ()); // Duplicate the information for persistent storage
255
255
xSemaphoreGive (lock);
@@ -259,7 +259,7 @@ void ZigbeeEP::zbReadBasicCluster(const esp_zb_zcl_attribute_t *attribute) {
259
259
std::vector<char > zb_model (zbstr->len + 1 );
260
260
memcpy (zb_model.data (), zbstr->data , zbstr->len );
261
261
zb_model[zbstr->len ] = ' \0 ' ;
262
- log_i (" Peer Model is \" %s\" " , zb_model);
262
+ log_i (" Peer Model is \" %s\" " , zb_model. data () );
263
263
free (_read_model); // Free any previously allocated memory
264
264
_read_model = strdup (zb_model.data ()); // Duplicate the information for persistent storage
265
265
xSemaphoreGive (lock);
You can’t perform that action at this time.
0 commit comments