Skip to content

Commit c7e7387

Browse files
authored
fix(zigbee): unecessary duplicated comment
1 parent 2a21a13 commit c7e7387

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/Zigbee/src/ZigbeeEP.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ bool ZigbeeEP::setManufacturerAndModel(const char *name, const char *model) {
4444
return false;
4545
}
4646
// Allocate a new array of size length + 2 (1 for the length, 1 for null terminator)
47-
std::vector<char> zb_name(name_length + 2); // +2 for length byte and null terminator
47+
std::vector<char> zb_name(name_length + 2);
4848
std::vector<char> zb_model(model_length + 2);
4949
// Store the length as the first element
5050
zb_name[0] = static_cast<char>(name_length); // Cast size_t to char

0 commit comments

Comments
 (0)