Fix LightSalt build errors on Windows

This commit is contained in:
James Buren committed 2024-07-25 03:09:55 -05:00
1 parent 4d8466cd60
commit e42cefdf09
2 files changed
+8 -1

No files matched your search

@@ -396,7 +396,7 @@ void RGBController_LightSalt::DeviceUpdateColors(bool save)
int rows = table.led.rows;
int columns = table.led.columns;
RGBColor colors_data[sets][rows][columns];
RGBColor colors_data[LIGHTSALT_SETS_MAX][LIGHTSALT_ROWS_MAX][LIGHTSALT_COLUMNS_MAX];
memset(colors_data, 0x00, sizeof(colors_data));
for(int led_idx = 0; led_idx < table.led.count; led_idx++)