-
-
Notifications
You must be signed in to change notification settings - Fork 19.2k
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 cant compile when REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER ... #1303
Conversation
@monkeydave, can you try this fix for the compile errors? I couldn't fully compile the source because I can't get the U8glib to be recognized by the Arduino IDE. However, I think this addresses the issues I introduced. |
…le errors until translated
Marlin now compiles when REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER is defined I have tested this with my Azteeg X3 Pro board and reprap discount full lcd, after merging in the latest Development branch as @wgm4321 Development branch isn't upto date. It compiled successfully and uploaded successfully to my board. |
dev branch is up to date.... we just cant merge all pull requests... some 2015-01-04 0:53 GMT+01:00 monkeydave notifications@github.com:
|
oh you meant this one was not merged... it will be now.. we are not always fast as lightning |
Fix for cant compile when REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER ...
Ok and what about all other LCDs like Viki? We need to take care when Otherwise many people will have they firmware broken when upgrading to a
|
@alexborro My changes were new float43 versions derived from the float32 references in ultralcd.cpp. It seems that each controller must implement these routines. So I searched for all references to float32 and made sure that there was a float43 version on the assumption that if float32 was referenced, a compiler error would occur if the float43 form didn't exist. There was only one other definition for float32 that didn't have a float43 and that was in dogm_lcd_implementation.h. So where there was just: and #define lcd_implementation_drawmenu_setting_edit_callback_float32_selected(row, pstr, pstr2, data, minValue, maxValue, callback) lcd_implementation_drawmenu_setting_edit_generic(row, pstr, '>', ftostr32((data))) there is now: and #define lcd_implementation_drawmenu_setting_edit_callback_float32_selected(row, pstr, pstr2, data, minValue, maxValue, callback) lcd_implementation_drawmenu_setting_edit_generic(row, pstr, '>', ftostr32((data))) Hopefully, that catches all other LCDs. Let me know if you think this isn't sufficient. |
@alexborro |
...defined
Adds defines for float43 which is used for the filament menu.