diff --git a/lib/usb/greaseweazle.cc b/lib/usb/greaseweazle.cc index 8b418e4f..b0313555 100644 --- a/lib/usb/greaseweazle.cc +++ b/lib/usb/greaseweazle.cc @@ -53,7 +53,7 @@ Bytes fluxEngineToGreaseweazle(const Bytes& fldata, nanoseconds_t clock) return gwdata; } -Bytes greaseWeazleToFluxEngine(const Bytes& gwdata, nanoseconds_t clock) +Bytes greaseweazleToFluxEngine(const Bytes& gwdata, nanoseconds_t clock) { Bytes fldata; ByteReader br(gwdata); diff --git a/lib/usb/greaseweazle.h b/lib/usb/greaseweazle.h index 27381630..a6063d68 100644 --- a/lib/usb/greaseweazle.h +++ b/lib/usb/greaseweazle.h @@ -10,7 +10,7 @@ #define EP_IN 0x83 extern Bytes fluxEngineToGreaseweazle(const Bytes& fldata, nanoseconds_t clock); -extern Bytes greaseWeazleToFluxEngine(const Bytes& gwdata, nanoseconds_t clock); +extern Bytes greaseweazleToFluxEngine(const Bytes& gwdata, nanoseconds_t clock); extern Bytes stripPartialRotation(const Bytes& fldata); /* Copied from diff --git a/lib/usb/greaseweazleusb.cc b/lib/usb/greaseweazleusb.cc index 0566f770..042e18fc 100644 --- a/lib/usb/greaseweazleusb.cc +++ b/lib/usb/greaseweazleusb.cc @@ -356,7 +356,7 @@ class GreaseweazleUsb : public USB Bytes fldata = greaseWeazleToFluxEngine(buffer, _clock); if (synced) fldata = stripPartialRotation(fldata); - return fldata; + return fldata;reaseweazle } void write(int side, diff --git a/tests/greaseweazle.cc b/tests/greaseweazle.cc index 8ddbc8dd..e0b9c23b 100644 --- a/tests/greaseweazle.cc +++ b/tests/greaseweazle.cc @@ -11,7 +11,7 @@ static void test_convert(const Bytes& gwbytes, const Bytes& flbytes) { - Bytes gwtoflbytes = greaseWeazleToFluxEngine(gwbytes, 2 * NS_PER_TICK); + Bytes gwtoflbytes = greaseweazleToFluxEngine(gwbytes, 2 * NS_PER_TICK); Bytes fltogwbytes = fluxEngineToGreaseweazle(flbytes, 2 * NS_PER_TICK); if (gwtoflbytes != flbytes)