This version of Marlin is supposed to send the extra response "Z_move_comp" after movements to help synchronize with nanodlp software. But it sends the message at the wrong time, as soon as a G1 command is parsed, rather than after movement is complete as expected. The problem is that the function call that sends the message, on line 1017 of Marlin_main.cpp, should come after the st_synchronize() function call on the next line. Lines 1017 and 1018 of Marlin_main.cpp should be swapped.
This version of Marlin is supposed to send the extra response "Z_move_comp" after movements to help synchronize with nanodlp software. But it sends the message at the wrong time, as soon as a G1 command is parsed, rather than after movement is complete as expected. The problem is that the function call that sends the message, on line 1017 of Marlin_main.cpp, should come after the st_synchronize() function call on the next line. Lines 1017 and 1018 of Marlin_main.cpp should be swapped.