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

fix for independent neopixel strip option compile error #19224

Merged
merged 49 commits into from
Sep 1, 2020
Merged

fix for independent neopixel strip option compile error #19224

merged 49 commits into from
Sep 1, 2020

Conversation

Bacon-Fixation
Copy link
Contributor

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

Description

when compiling current bugfix 2.0.x with NEOPIXEL2_SEPARATE enabled I get an error that TERN_(NEOPIXEL2_SEPARATE,,adaneo1.setPin(NEOPIXEL2_PIN)); has 3 values. I believe it has an extra comma

Related Issues

#19179 doesn't compile

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 and others added 19 commits August 25, 2020 10:40
trying out stuffs
with NeoPixel2_separate enabled there isnt a conflict if they are different Neo type
i dont know why i thought this was needed

if neopixel is't enabled then there wont be a neopixel2
M150 S1 I1 R    ; Set SEPARATE index 1 to red
I dont know why but in Conditionals_LCD.h

MULTIPLE_NEOPIXEL_TYPES  isn't carried over from its definition in neopixel.h
moved the CONJOINED_NEOPIXEL from Conditionals_LCD.h to neopixel.h

because MULTIPLE_NEOPIXEL_TYPE wouldnt trip the trigger in conditionals
adaneo1 still was set to NEOPIXEL2_PIN and was bleeding into the separated neopixel bank during start up and regular M150 commands

found that adaneo never set a pin once NEOPIXEL2_SEPARATE is enabled
TERN_(NEOPIXEL2_SEPARATE,,adaneo1.setPin(NEOPIXEL2_PIN)); dosent compile as is. i believe it has an extra comma in it
@thinkyhead thinkyhead merged commit 09ddb5a into MarlinFirmware:bugfix-2.0.x Sep 1, 2020
thinkyhead pushed a commit to thinkyhead/Marlin that referenced this pull request Sep 2, 2020
vgadreau pushed a commit to vgadreau/Marlin that referenced this pull request Dec 9, 2020
kageurufu pushed a commit to CR30-Users/Marlin-CR30 that referenced this pull request Apr 30, 2021
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