Closed bilsef closed 11 years ago
Hi bilsef,
The normal way is on the end from get_command() called the function ClearToSend()
This function send OK and the newline. At the moment there is a bug when usb_printf is called twice then the second string is not send.
void ClearToSend() { previous_millis_cmd = timestamp; usb_printf("ok\r\n"); }
Yes, once that bug is fixed we can remove the explicit newlines.
On 10/05/2012 08:22 AM, midopple wrote:
Hi bilsef,
The normal way is on the end from get_command() called the function ClearToSend()
This function send OK and the newline. At the moment there is a bug when usb_printf is called twice then the second string is not send.
void ClearToSend() { previous_millis_cmd = timestamp; usb_printf("ok\r\n"); }
— Reply to this email directly or view it on GitHub https://github.com/kliment/4pi-firmware/pull/2#issuecomment-9166599.
Hi midopple,
Is there anything I could help you with?
Hi bilsef
there are some points like
i'am also at IRC freenode.
middople,
Take a look at my motor_settings branch. I've implemented M350 (uSteps), M906 (mA current), and M907 (raw current). Let me know if you want me to change anything. If it's good, I'll merge it back to master.
Hi bilsef,
The code looks good, you can merge it back to master
Added newlines to usb_printf statements in com_interpreter.c so temperature monitor will work in pronterface.