xC0000005 / Marlin

Optimized firmware for RepRap 3D printers based on the Arduino platform.
http://www.marlinfw.org/
GNU General Public License v3.0
22 stars 5 forks source link

Fix FeedRate and Homing #2

Closed lawrence-jeff closed 5 years ago

lawrence-jeff commented 5 years ago

Description

This fixes two issues with the Malyan cmd parsing. The first is that when a feedrate is selected on the LCD it sends {C:SXY} where X and Y are relative to 1.0 (100%) So 11 is 1.1 or 110%. The existing code is looking for C but the C has been parsed earlier so needs to actually check for 'S'.

Also the UI has one homing cmd which is {P:H} the code in the P processing function correctly handles it but there was another function incorrectly looking for it, removed that section.

Benefits

Fixes feedrate cmds from the UI and removes unncessary code.