Skip to content

Commit

Permalink
Fix FeedRate Cmd interpreter
Browse files Browse the repository at this point in the history
The LCD sends S not C for feedrate
  • Loading branch information
lawrence-jeff committed Jun 9, 2019
1 parent 280c3a3 commit a289c02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/lcd/malyanlcd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ void write_to_lcd(const char * const message) {
*/
void process_lcd_c_command(const char* command) {
switch (command[0]) {
case 'C': {
case 'S': {
int raw_feedrate = atoi(command + 1);
feedrate_percentage = raw_feedrate * 10;
feedrate_percentage = constrain(feedrate_percentage, 10, 999);
Expand Down

0 comments on commit a289c02

Please sign in to comment.