Make sure leds clear each time

This commit is contained in:
Paul Dino Jones
2025-03-24 12:13:39 -04:00
parent 22930163ec
commit f7e92083f2
+4 -1
View File
@@ -131,7 +131,10 @@ int cammusc12_customled_update(USBDevice* usbdevice, SimData* simdata)
size_t bufsize = (cammusc12_total_leds * 3);
char ledbytes[bufsize];
for(int x = 0; x < bufsize; x++)
{
ledbytes[x] = 0x00;
}
lua_State* L = usbdevice->m.L;