From 968184fa7afd781653fc62e31278ea07ef49d8ea Mon Sep 17 00:00:00 2001 From: Thomas Daede Date: Sun, 29 May 2022 23:17:35 -0700 Subject: [PATCH] Greaseweazle: Fix RPM measurement in some circumstances. Accumulate number of ticks returned in FLUXOP_SPACE so that they count towards the total track time. --- lib/usb/greaseweazleusb.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/usb/greaseweazleusb.cc b/lib/usb/greaseweazleusb.cc index c7a4ebc3..fcf5f493 100644 --- a/lib/usb/greaseweazleusb.cc +++ b/lib/usb/greaseweazleusb.cc @@ -160,7 +160,7 @@ public: } case FLUXOP_SPACE: - _serial->readBytes(4); + ticks_gw += read_28(); break; default: