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:
Diffstat (limited to 'src/RepRap.cpp')
-rw-r--r--src/RepRap.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/RepRap.cpp b/src/RepRap.cpp
index 035528c7..ac190942 100644
--- a/src/RepRap.cpp
+++ b/src/RepRap.cpp
@@ -850,7 +850,7 @@ OutputBuffer *RepRap::GetStatusResponse(uint8_t type, ResponseSource source)
ch = '[';
for (size_t axis = 0; axis < numVisibleAxes; ++axis)
{
- response->catf("%c%d", ch, (gCodes->GetAxisIsHomed(axis)) ? 1 : 0);
+ response->catf("%c%d", ch, (gCodes->IsAxisHomed(axis)) ? 1 : 0);
ch = ',';
}
@@ -1779,7 +1779,7 @@ OutputBuffer *RepRap::GetLegacyStatusResponse(uint8_t type, int seq)
ch = '[';
for (size_t axis = 0; axis < numVisibleAxes; ++axis)
{
- response->catf("%c%d", ch, (gCodes->GetAxisIsHomed(axis)) ? 1 : 0);
+ response->catf("%c%d", ch, (gCodes->IsAxisHomed(axis)) ? 1 : 0);
ch = ',';
}
response->cat(']');