Stop shuttle emitting a signal every 100ms!

failbranch
Phil Taylor 2023-02-01 18:29:26 +00:00
rodzic 63a7ec0a21
commit c6bd93a2b6
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -436,7 +436,7 @@ void usbController::runTimer()
{
if (usbDevice == shuttleXpress || usbDevice == shuttlePro2)
{
if (shutpos < 0x08)
if (shutpos > 0 && shutpos < 0x08)
{
shutMult = shutpos;
emit doShuttle(true, shutMult);