-
-
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
compile error on gen6 electronics #28
Comments
Thats not only doing stuff for lcd, but also for the serial. Sprintf is usually defined in #include <stdio.h>, and that would be should be a proper fix. |
Arduino 0022 Yes, the obvious fix worked. (I do have some C/AVR experience, just in a big haste trying to make the 3d printer work, and adding extra stdlib includes may possibly mess up the project, i.e. by blowing the binary larger than MCU's flash etc.) Thanks for the reply. |
Hello, Copy the Sanguino dir from Marlin to the adrduino dirs. We updated the sanguino files. |
this should be allright now, especially after stio.h is not in marlin.h |
…ter' Resolve "Dual Extruder calibration cube front side" Closes MarlinFirmware#28 See merge request lulzbot3d/marlin!21
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Given
#define MOTHERBOARD 5
(as per comments)and
Board -> Sanguino selected in Arduino software Tools menu
build generates an error:
Marlin.cpp: In function 'void process_commands()': Marlin:642: error: 'sprintf' was not declared in this scope
Code piece in question
Quick fix for me was to comment out the sprintf() call since I don't have a LCD anyway.
Applies to revision ErikZalm@5535e51
The text was updated successfully, but these errors were encountered: