You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the latest bugfix-2.0.x(41529b6), REPRAP_DISCOUNT_SMART_CONTROLLER with ROTATE_PROGRESS_DISPLAY causes the build to fail. This was due to the "Reduce, reuse, recycle" (b6bb4fa) refactoring commit in #20148 before it was merged.
Error output:
Marlin/src/lcd/HD44780/marlinui_HD44780.cpp: In function 'uint8_t draw_elapsed_or_remaining_time(uint8_t)':
Marlin/src/lcd/HD44780/marlinui_HD44780.cpp:714:61: error: 'blink' was not declared in this scope
714 | const bool show_remain = TERN1(ROTATE_PROGRESS_DISPLAY, blink) && (printingIsActive() || marlin_state == MF_SD_COMPLETE);
| ^~~~~
Marlin/src/lcd/HD44780/../../inc/../core/macros.h:419:26: note: in definition of macro 'THIRD'
419 | #define THIRD(a,b,c,...) c
| ^
Marlin/src/lcd/HD44780/../../inc/../core/macros.h:196:29: note: in expansion of macro '___TERN'
196 | #define __TERN(T,V...) ___TERN(_CAT(_NO,T),V) // Prepend '_NO' to get '_NOT_0' or '_NOT_1'
| ^~~~~~~
Marlin/src/lcd/HD44780/../../inc/../core/macros.h:195:29: note: in expansion of macro '__TERN'
195 | #define _TERN(E,V...) __TERN(_CAT(T_,E),V) // Prepend 'T_' to get 'T_0' or 'T_1'
| ^~~~~~
Marlin/src/lcd/HD44780/../../inc/../core/macros.h:193:29: note: in expansion of macro '_TERN'
193 | #define TERN1(O,A) _TERN(_ENA_1(O),1,A) // OPTION converted to A or '1'
| ^~~~~
Marlin/src/lcd/HD44780/marlinui_HD44780.cpp:714:30: note: in expansion of macro 'TERN1'
714 | const bool show_remain = TERN1(ROTATE_PROGRESS_DISPLAY, blink) && (printingIsActive() || marlin_state == MF_SD_COMPLETE);
| ^~~~~
Compiling.pio/build/BIGTREE_BTT002/src/src/libs/buzzer.cpp.o
Marlin/src/lcd/HD44780/marlinui_HD44780.cpp:719:28: error: 'get_progress_percent' was not declared in this scope
719 | uint8_t progress = get_progress_percent();
| ^~~~~~~~~~~~~~~~~~~~
Compiling.pio/build/BIGTREE_BTT002/src/src/libs/crc16.cpp.o
Compiling.pio/build/BIGTREE_BTT002/src/src/libs/heatshrink/heatshrink_decoder.cpp.o
Compiling.pio/build/BIGTREE_BTT002/src/src/libs/nozzle.cpp.o
*** [.pio/build/BIGTREE_BTT002/src/src/lcd/HD44780/marlinui_HD44780.cpp.o] Error 1
Bug Description
Using the latest
bugfix-2.0.x
(41529b6),REPRAP_DISCOUNT_SMART_CONTROLLER
withROTATE_PROGRESS_DISPLAY
causes the build to fail. This was due to the "Reduce, reuse, recycle" (b6bb4fa) refactoring commit in #20148 before it was merged.Error output:
Configuration Files
https://github.com/thisiskeithb/Marlin/tree/myconfig/MK3S-BTT002-TMC2209
Steps to Reproduce
REPRAP_DISCOUNT_SMART_CONTROLLER
withROTATE_PROGRESS_DISPLAY
.Expected behavior:
Build not to fail.
Actual behavior:
Build fails.
The text was updated successfully, but these errors were encountered: