Code formatting and comments

Former-commit-id: 80b42aa9905d560aff1c1052e3bcd26eddb0821b
This commit is contained in:
johan 2013-11-13 23:17:49 +01:00
parent 979d6e79ad
commit 4b98dd6e72

View File

@ -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;
}