zero fill is required

This commit is contained in:
Jonas Rabenstein 2025-12-27 20:48:27 +01:00
commit 19587a0b73

View file

@ -94,7 +94,6 @@ std::span<uint8_t> inner(const std::span<uint8_t> &buffer, Light::Id id, const s
hdr[1] = id.value(); hdr[1] = id.value();
std::copy(src.begin(), src.end(), dst.begin()); std::copy(src.begin(), src.end(), dst.begin());
// TODO: required?
std::ranges::fill(subspan(dst, src.size()), 0); std::ranges::fill(subspan(dst, src.size()), 0);
//ESP_LOGV(TAG, "%c%02hhX: inner: %s", id.kind(), id.value(), //ESP_LOGV(TAG, "%c%02hhX: inner: %s", id.kind(), id.value(),