Skip to content

Commit

Permalink
Fix MACHINE_TYPE with KINEMATICS in M115 (#2913)
Browse files Browse the repository at this point in the history
  • Loading branch information
thisiskeithb committed Mar 25, 2024
1 parent 64b9596 commit 970e1cd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion TFT/src/User/API/Mainboard_AckHandler.c
Original file line number Diff line number Diff line change
Expand Up @@ -1273,7 +1273,9 @@ void parseAck(void)
string = &ack_cache[ack_index];
string_start = ack_index;

if (ack_seen("EXTRUDER_COUNT:"))
if (ack_seen("KINEMATICS:")) // as of MarlinFirmware/Marlin@3fd175a
string_end = ack_index - sizeof("KINEMATICS:");
else if (ack_seen("EXTRUDER_COUNT:"))
{
if (MIXING_EXTRUDER == 0)
infoSettings.ext_count = ack_value();
Expand Down

0 comments on commit 970e1cd

Please sign in to comment.