From 1d22f7a2a5bdb55116535ce45e3edc8f7fd180d9 Mon Sep 17 00:00:00 2001 From: Bertho Stultiens Date: Wed, 13 May 2026 13:43:05 +0200 Subject: [PATCH] motion: Fix state tag truncation and replace float with double --- src/emc/motion/state_tag.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emc/motion/state_tag.h b/src/emc/motion/state_tag.h index ff0dcfe7313..0372f053c14 100644 --- a/src/emc/motion/state_tag.h +++ b/src/emc/motion/state_tag.h @@ -115,7 +115,7 @@ struct state_tag_t { // Float-type machine settings: feed, speed, etc., indexed by the // StateFieldFloat enum above - float fields_float[GM_FIELD_FLOAT_MAX_FIELDS]; + double fields_float[GM_FIELD_FLOAT_MAX_FIELDS]; // Any G / M code states that doesn't pack nicely into a single bit // These are an array mostly because it's easier to pass an