Fix: Gridprofile dump contained the whole buffer instead of the actual length
As a result, a lot of zeros where placed at the end of the dump
This commit is contained in:
parent
ce978cb0f5
commit
149444decb
@ -390,7 +390,7 @@ std::vector<uint8_t> GridProfileParser::getRawData() const
|
||||
{
|
||||
std::vector<uint8_t> ret;
|
||||
HOY_SEMAPHORE_TAKE();
|
||||
for (uint8_t i = 0; i < GRID_PROFILE_SIZE; i++) {
|
||||
for (uint8_t i = 0; i < _gridProfileLength; i++) {
|
||||
ret.push_back(_payloadGridProfile[i]);
|
||||
}
|
||||
HOY_SEMAPHORE_GIVE();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user