Added correction for wrong side ledstrip

This commit is contained in:
CommanderRedYT
2021-10-22 16:38:42 +02:00
committed by 0xFEEDC0DE64
parent c3fd0d4d21
commit 82d63616f1

View File

@ -91,13 +91,23 @@ void handleSerial()
break;
case 'z':
case 'Z':
#ifndef LEDSTRIP_WRONG_DIRECTION
InputDispatcher::blinkLeftButton(true);
InputDispatcher::blinkLeftButton(false);
#else
InputDispatcher::blinkRightButton(true);
InputDispatcher::blinkRightButton(false);
#endif
break;
case 'u':
case 'U':
#ifndef LEDSTRIP_WRONG_DIRECTION
InputDispatcher::blinkRightButton(true);
InputDispatcher::blinkRightButton(false);
#else
InputDispatcher::blinkLeftButton(true);
InputDispatcher::blinkLeftButton(false);
#endif
break;
}
}