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 the PR #5255 (Case light menu (3rd attempt)) #5517

Merged
merged 1 commit into from Dec 16, 2016
Merged

Fix for the PR #5255 (Case light menu (3rd attempt)) #5517

merged 1 commit into from Dec 16, 2016

Conversation

ghost
Copy link

@ghost ghost commented Dec 15, 2016

Fix for the PR #5255 (Case light menu (3rd attempt))

When try to use a case light without LCD, compilation error occurs.

error message
\AppData\Local\Temp\arduino_build_104836\sketch\Marlin_main.cpp: In function 'void update_case_light()':

Marlin_main.cpp:7501: error: 'case_light_on' was not declared in this scope

     digitalWrite(CASE_LIGHT_PIN, case_light_on != INVERT_CASE_LIGHT ? HIGH : LOW);

                                  ^

\AppData\Local\Temp\arduino_build_104836\sketch\Marlin_main.cpp: In function 'void gcode_M355()':

Marlin_main.cpp:7513: error: 'case_light_on' was not declared in this scope

     if (code_seen('S')) case_light_on = code_value_bool();

                         ^

Marlin_main.cpp:7517: error: 'case_light_on' was not declared in this scope

     case_light_on ? SERIAL_ECHOLNPGM("on") : SERIAL_ECHOLNPGM("off");

     ^

@thinkyhead thinkyhead merged commit d4f5418 into MarlinFirmware:RCBugFix Dec 16, 2016
@ghost ghost deleted the Fix-for-PR-#5255 branch December 16, 2016 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant