-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
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
Bugfix #19280 lcd LED menu showing channel 3 for both channels when neopixel2 separate is enabled #19303
Bugfix #19280 lcd LED menu showing channel 3 for both channels when neopixel2 separate is enabled #19303
Conversation
Bugfix 2.0.x
sorry im not a programer but i did my best to get 2 seperated controls for extra visual indiaction from the LEDS by keeping the Printer Events on the main channel .
… into bugfix-2.0.x
Originally labeled as DUET_SMART_EFFECTOR but this is incorrect as MarlinCore looks for SMART_EFFECTOR and not DUET_SMART_EFFECTOR
… into bugfix-2.0.x
for some reason NEOPIXEL_SEPERATE ended up missing in config
still problems with #elif ENABLED(NEOPIXEL2_SEPARATE) && !(NEOPIXEL2_TYPE && PIN_EXISTS(NEOPIXEL2) && NEOPIXEL2_PIXELS > 0) Error is a;ways flagged
its the only menu to use |
that was a whoopsy sorry about the closed and reopen i really dont know how i managed that |
#define STATIC_ITEM(LABEL, V...) STATIC_ITEM_P(GET_TEXT(LABEL), ##V) | ||
#define STATIC_ITEM_N(LABEL, N, V...) STATIC_ITEM_N_P(GET_TEXT(LABEL), N, ##V) | ||
#define STATIC_ITEM(LABEL, V...) STATIC_ITEM_P(GET_TEXT(LABEL), ##V) | ||
#define STATIC_ITEM_N(LABEL, V...) STATIC_ITEM_N_P(GET_TEXT(LABEL), ##V) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
im confused about the removal of the N in the #define STATIC_ITEM_N(LABEL, V...) STATIC_ITEM_N_P(GET_TEXT(LABEL), ##V)
because its looking for it, right?
#define STATIC_ITEM_N_P(PLABEL, N, V...) do{ \
if (_menuLineNr == _thisItemNr) { \
MenuItemBase::init(N); \
STATIC_ITEM_INNER_P(PLABEL, ##V); \
} \
NEXT_ITEM(); \
}while(0)
Description
Fixing a display error that happens when you go to the custom LED controls where both channels say "Channel 3"
noticed the
STATIC_ITEM_N
macro was missing somethingin lcd_item.h
#define STATIC_ITEM_N(LABEL, N, V...) STATIC_ITEM_N_P(GET_TEXT(LABEL), ##V)
the N was missing on the other side and was displaying a 3 that was possibly from theSS_DEFAULT|SS_INVERT
instead of the number rather than the number value inSTATIC_ITEM_N(MSG_LED_CHANNEL_N, 1, SS_DEFAULT|SS_INVERT);
in menu_led.h.i could change it to
STATIC_ITEM_N(MSG_LED_CHANNEL_N, 9, SS_DEFAULT|SS_INVERT);
and still have a 3 on the lcd.Related Issues
#19280 showing channel 3 on both labels on the lcd screen