Skip to content

Commit

Permalink
Fix989 - treat empty pin specification like NO_PIN
Browse files Browse the repository at this point in the history
  • Loading branch information
MitchBradley committed Aug 6, 2023
1 parent fc50c1e commit 0310f2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FluidNC/src/Pin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const char* Pin::parse(std::string_view pin_str, Pins::PinDetail*& pinImplementa

if (pin_str.empty()) {
// Re-use undefined pins happens in 'create':
pinImplementation = new Pins::VoidPinDetail();
pinImplementation = undefinedPin;
return nullptr;
}

Expand Down

0 comments on commit 0310f2f

Please sign in to comment.