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

bugfix STATIC_ITEM_N not working as intended #19360

Closed
wants to merge 76 commits into from
Closed

bugfix STATIC_ITEM_N not working as intended #19360

wants to merge 76 commits into from

Conversation

Bacon-Fixation
Copy link
Contributor

@Bacon-Fixation Bacon-Fixation commented Sep 12, 2020

Description

im confused about the removal of the N in the #define STATIC_ITEM_N(LABEL, V...) STATIC_ITEM_N_P(GET_TEXT(LABEL), ##V) when #19303 was merged because its looking for N, 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)

without N STATIC_ITEM_N act the same as STATIC_ITEM

Related Issues

Bacon-Fixation and others added 30 commits August 22, 2020 13:10
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 .
Originally labeled as DUET_SMART_EFFECTOR
but this is incorrect as MarlinCore looks for SMART_EFFECTOR and not DUET_SMART_EFFECTOR
for some reason NEOPIXEL_SEPERATE ended up missing in config
@Bacon-Fixation Bacon-Fixation changed the title STATIC_ITEM_N not working as intended bugfix STATIC_ITEM_N not working as intended Sep 12, 2020
@thinkyhead
Copy link
Member

You are 21 commits behind. You should be careful to only reference the most up to date code.

@thinkyhead thinkyhead closed this Sep 13, 2020
@Bacon-Fixation Bacon-Fixation deleted the bugfix-2.0.x branch September 13, 2020 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants