Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG][Ender 3 v2][dwin] MYSERIAL1' was not declared in this scope #20761

Closed
CRCinAU opened this issue Jan 12, 2021 · 3 comments
Closed

[BUG][Ender 3 v2][dwin] MYSERIAL1' was not declared in this scope #20761

CRCinAU opened this issue Jan 12, 2021 · 3 comments

Comments

@CRCinAU
Copy link
Contributor

CRCinAU commented Jan 12, 2021

This seems to be introduced since yesterday, but I haven't found a commit yet that has broken this in bugfix-2.0.x

Possible its a Configuration update that's broken it. I note that the Configurations repo had a push ~14 hours ago - but as its a force / smooshed commit, there's no history to compare.

Configs: https://github.com/MarlinFirmware/Configurations/tree/bugfix-2.0.x/config/examples/Creality/Ender-3%20V2

Marlin/src/lcd/dwin/dwin_lcd.cpp: In function 'void DWIN_Send(size_t&)':
Marlin/src/lcd/dwin/dwin_lcd.cpp:85:20: error: 'MYSERIAL1' was not declared in this scope
   LOOP_L_N(n, i) { MYSERIAL1.write(DWIN_SendBuf[n]); delayMicroseconds(1); }
                    ^~~~~~~~~
Marlin/src/lcd/dwin/dwin_lcd.cpp:85:20: note: suggested alternative: 'MYSERIAL0'
   LOOP_L_N(n, i) { MYSERIAL1.write(DWIN_SendBuf[n]); delayMicroseconds(1); }
                    ^~~~~~~~~
                    MYSERIAL0
Marlin/src/lcd/dwin/dwin_lcd.cpp:86:20: error: 'MYSERIAL1' was not declared in this scope
   LOOP_L_N(n, 4) { MYSERIAL1.write(DWIN_BufTail[n]); delayMicroseconds(1); }
                    ^~~~~~~~~
Marlin/src/lcd/dwin/dwin_lcd.cpp:86:20: note: suggested alternative: 'MYSERIAL0'
   LOOP_L_N(n, 4) { MYSERIAL1.write(DWIN_BufTail[n]); delayMicroseconds(1); }
                    ^~~~~~~~~
                    MYSERIAL0
Marlin/src/lcd/dwin/dwin_lcd.cpp: In function 'bool DWIN_Handshake()':
Marlin/src/lcd/dwin/dwin_lcd.cpp:97:10: error: 'MYSERIAL1' was not declared in this scope
   while (MYSERIAL1.available() > 0 && recnum < (signed)sizeof(databuf)) {
          ^~~~~~~~~
Marlin/src/lcd/dwin/dwin_lcd.cpp:97:10: note: suggested alternative: 'MYSERIAL0'
   while (MYSERIAL1.available() > 0 && recnum < (signed)sizeof(databuf)) {
          ^~~~~~~~~
          MYSERIAL0
*** [.pio/build/STM32F103RET6_creality/src/src/lcd/dwin/dwin_lcd.cpp.o] Error 1
@thinkyhead
Copy link
Member

This will be solved when #20738 is merged.

@CRCinAU
Copy link
Contributor Author

CRCinAU commented Jan 13, 2021

Can confirm - is working ok now.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Mar 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants