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.h | |
parent | 6bb2ddc8936d1352e5a5146f20c86fa388076f68 (diff) |
Fixes for gcc version 10
Also fixed shadow definitions
Diffstat (limited to 'src/Endstops/SwitchEndstop.h')
-rw-r--r-- | src/Endstops/SwitchEndstop.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Endstops/SwitchEndstop.h b/src/Endstops/SwitchEndstop.h index 75117daf..b2cc997e 100644 --- a/src/Endstops/SwitchEndstop.h +++ b/src/Endstops/SwitchEndstop.h @@ -19,7 +19,7 @@ public: void operator delete(void* p) noexcept { FreelistManager::Release<SwitchEndstop>(p); } ~SwitchEndstop() noexcept override; - SwitchEndstop(uint8_t axis, EndStopPosition pos) noexcept; + SwitchEndstop(uint8_t p_axis, EndStopPosition pos) noexcept; EndStopType GetEndstopType() const noexcept override; EndStopHit Stopped() const noexcept override; |