From 1ca0597abb2f4f7d5fab6b4a6fd0d7e11007050f Mon Sep 17 00:00:00 2001 From: David Crocker Date: Fri, 4 Mar 2022 14:58:33 +0000 Subject: Increased reporting of extrusion factors in OM from 2 to 3 d.p. --- src/Platform/Platform.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Platform/Platform.cpp b/src/Platform/Platform.cpp index 19ea4ebd..3865d005 100644 --- a/src/Platform/Platform.cpp +++ b/src/Platform/Platform.cpp @@ -296,7 +296,7 @@ constexpr ObjectModelTableEntry Platform::objectModelTable[] = { "acceleration", OBJECT_MODEL_FUNC(InverseConvertAcceleration(self->Acceleration(ExtruderToLogicalDrive(context.GetLastIndex()))), 1), ObjectModelEntryFlags::none }, { "current", OBJECT_MODEL_FUNC((int32_t)(self->GetMotorCurrent(ExtruderToLogicalDrive(context.GetLastIndex()), 906))), ObjectModelEntryFlags::none }, { "driver", OBJECT_MODEL_FUNC(self->extruderDrivers[context.GetLastIndex()]), ObjectModelEntryFlags::none }, - { "factor", OBJECT_MODEL_FUNC_NOSELF(reprap.GetGCodes().GetExtrusionFactor(context.GetLastIndex()), 2), ObjectModelEntryFlags::none }, + { "factor", OBJECT_MODEL_FUNC_NOSELF(reprap.GetGCodes().GetExtrusionFactor(context.GetLastIndex()), 3), ObjectModelEntryFlags::none }, { "filament", OBJECT_MODEL_FUNC_NOSELF(GetFilamentName(context.GetLastIndex())), ObjectModelEntryFlags::none }, { "jerk", OBJECT_MODEL_FUNC(InverseConvertSpeedToMmPerMin(self->GetInstantDv(ExtruderToLogicalDrive(context.GetLastIndex()))), 1), ObjectModelEntryFlags::none }, { "microstepping", OBJECT_MODEL_FUNC(self, 8), ObjectModelEntryFlags::none }, -- cgit v1.2.3