Skip to content

[1.1.x] Malyan LCD compatibility#10836

Merged
thinkyhead merged 2 commits intoMarlinFirmware:bugfix-1.1.xfrom
thinkyhead:bf1_malyan_lcd_fix
May 24, 2018
Merged

[1.1.x] Malyan LCD compatibility#10836
thinkyhead merged 2 commits intoMarlinFirmware:bugfix-1.1.xfrom
thinkyhead:bf1_malyan_lcd_fix

Conversation

@thinkyhead
Copy link
Member

@thinkyhead thinkyhead commented May 24, 2018

Addressing #6789 (comment)

Malyan LCD needs a second serial port to communicate with Marlin. This PR brings in HardwareSerial.h for the Malyan LCD in the case where MarlinSerial replaces the Serial instance representing the USB port.

To support this change, also add a USE_MARLINSERIAL conditional.

Since MarlinSerial doesn't (?) provide a connected behavior like if (Serial) just consider the USB connected status to be true when MarlinSerial is in use.

@thinkyhead thinkyhead force-pushed the bf1_malyan_lcd_fix branch from fda3e84 to 181516f Compare May 24, 2018 11:14
@thinkyhead thinkyhead merged commit a5ac802 into MarlinFirmware:bugfix-1.1.x May 24, 2018
@thinkyhead thinkyhead deleted the bf1_malyan_lcd_fix branch May 24, 2018 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant