Skip to content

Commit

Permalink
Rename greaseWeazle to greaseweazle (as it needs doing).
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgiven committed Sep 30, 2024
1 parent 045e5e7 commit d00fba0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/usb/greaseweazle.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion lib/usb/greaseweazle.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/usb/greaseweazleusb.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion tests/greaseweazle.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d00fba0

Please sign in to comment.