mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Code formatting and comments
Former-commit-id: 80b42aa9905d560aff1c1052e3bcd26eddb0821b
This commit is contained in:
parent
979d6e79ad
commit
4b98dd6e72
@ -184,7 +184,7 @@ int LedDeviceLightpack::open()
|
||||
}
|
||||
|
||||
// set the led buffer size (command + 6 bytes per led)
|
||||
_ledBuffer.resize(1 + _ledCount * 6, 0);
|
||||
_ledBuffer = std::vector<uint8_t>(1 + _ledCount * 6, 0);
|
||||
_ledBuffer[0] = CMD_UPDATE_LEDS;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user