Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
MitchBradley committed Jun 11, 2024
1 parent ae7e073 commit b16fb68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion FluidNC/src/Pins/GPIOPinDetail.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ namespace Pins {
} else if (opt.is("high")) {
// Default: Active HIGH.
} else {
Assert(false, "Bad GPIO option passed to pin %d: %.*s", int(index), static_cast<int>(opt()), opt().data());
Assert(false, "Bad GPIO option passed to pin %d: %.*s", int(index), static_cast<int>(opt().length()), opt().data());
}
}
_claimed[index] = true;
Expand Down
2 changes: 1 addition & 1 deletion FluidNC/src/Pins/I2SOPinDetail.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ namespace Pins {
_claimed[index] = true;

// readWriteMask is xor'ed with the value to invert it if active low
_readWriteMask = _attributes.has(PinAttributes::ActiveLow);
_readWriteMask = int(_attributes.has(PinAttributes::ActiveLow));
}

PinCapabilities I2SOPinDetail::capabilities() const {
Expand Down

0 comments on commit b16fb68

Please sign in to comment.