grblHAL / core

grblHAL core code and master Wiki
Other
310 stars 76 forks source link

Hi, terjeio, can I have the line of code for making grbl return an error code? #328

Closed hanke-cnc closed 1 year ago

hanke-cnc commented 1 year ago

My upper computer has undergone numerous modifications, and now it is experiencing inexplicable errors. GRBL returns error code 1, but I have no idea what went wrong. So, I want GRBL to return the content of this error line, solely for debugging purposes.

hanke-cnc commented 1 year ago

I have identified the issue. It turns out that the problem lies with the line numbers being appended to the "%" at the end of the program.