diff options
author | David Crocker <dcrocker@eschertech.com> | 2021-01-09 18:24:16 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2021-01-09 18:24:16 +0300 |
commit | 277977b60b2b1349578863dd16e4095121d6c749 (patch) | |
tree | 8685eccfded96c9da76d6ecbc138b33df6bc9bbd /src/Endstops/SwitchEndstop.cpp | |
parent | 6bb2ddc8936d1352e5a5146f20c86fa388076f68 (diff) |
Fixes for gcc version 10
Also fixed shadow definitions
Diffstat (limited to 'src/Endstops/SwitchEndstop.cpp')
-rw-r--r-- | src/Endstops/SwitchEndstop.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Endstops/SwitchEndstop.cpp b/src/Endstops/SwitchEndstop.cpp index d1615a9a..87af1b9b 100644 --- a/src/Endstops/SwitchEndstop.cpp +++ b/src/Endstops/SwitchEndstop.cpp @@ -20,7 +20,7 @@ #endif // Switch endstop -SwitchEndstop::SwitchEndstop(uint8_t axis, EndStopPosition pos) noexcept : Endstop(axis, pos), numPortsUsed(0) +SwitchEndstop::SwitchEndstop(uint8_t p_axis, EndStopPosition pos) noexcept : Endstop(p_axis, pos), numPortsUsed(0) { // ports will be initialised automatically by the IoPort default constructor } |