I notice serial output seems to output to different ports randomly and I can't seem to identify any pattern. For instance in the LCD code using a SERIAL_ECHOLNPAIR seems to randomly be sent to either the UI (Serial1) or the USB connection (Serial0). Some messages from Marlin itself (like temperature updates) seem to be sent to both.
Opening this to see if you understood why - I dug through the marlin code and it seems these functions should send to Serial0 - but often I get the output on my debug device attached to the UI and it changes based on the function in the LCD code, almost like it just goes to the last serial port written to.
I notice serial output seems to output to different ports randomly and I can't seem to identify any pattern. For instance in the LCD code using a SERIAL_ECHOLNPAIR seems to randomly be sent to either the UI (Serial1) or the USB connection (Serial0). Some messages from Marlin itself (like temperature updates) seem to be sent to both.
Opening this to see if you understood why - I dug through the marlin code and it seems these functions should send to Serial0 - but often I get the output on my debug device attached to the UI and it changes based on the function in the LCD code, almost like it just goes to the last serial port written to.