Merge pull request #747 from CapeLeidokos/pr_missing_braces

Added missing braces around the initialization list of a submember
pull/748/head
Gergely Nagy 5 years ago committed by GitHub
commit 903e7e2e44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -76,7 +76,7 @@ void HardwareTestMode::testLeds(void) {
void HardwareTestMode::testMatrix() {
// Reset bad keys from previous tests.
chatter_data state[Kaleidoscope.device().numKeys()] = {0, 0, 0};
chatter_data state[Kaleidoscope.device().numKeys()] = {{0, 0, 0}};
constexpr cRGB red = CRGB(201, 0, 0);
constexpr cRGB blue = CRGB(0, 0, 201);

Loading…
Cancel
Save