Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2021-01-09 18:24:16 +0300
committerDavid Crocker <dcrocker@eschertech.com>2021-01-09 18:24:16 +0300
commit277977b60b2b1349578863dd16e4095121d6c749 (patch)
tree8685eccfded96c9da76d6ecbc138b33df6bc9bbd /src/Endstops/SwitchEndstop.cpp
parent6bb2ddc8936d1352e5a5146f20c86fa388076f68 (diff)
Fixes for gcc version 10
Also fixed shadow definitions
Diffstat (limited to 'src/Endstops/SwitchEndstop.cpp')
-rw-r--r--src/Endstops/SwitchEndstop.cpp2
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
}