use strict comparison in for loop of usb start lamps test

This commit is contained in:
Omni
2022-07-01 21:09:41 +02:00
parent 03c86102de
commit 9156fcbbc6
2 changed files with 1 additions and 1 deletions
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -334,7 +334,7 @@ __declspec(dllexport) int __cdecl usbStart(int i) {
g_dip_state |= 0x08;
#endif
/* light up each part of the cab in a wave pattern to get visual confirmation the device is working */
for (int i = 0; i<=31; i++){
for (int i = 0; i<32; i++){
if ((i > 4 && i < 8) || (i > 11 && i < 23)) { // unused bits
continue;
}