-
Notifications
You must be signed in to change notification settings - Fork 13.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
undefined reference to `sscanf' #404
Comments
os_sprintf(test, "%x", &ii); |
ty, didn't think of these functions. A wrapper would be nice though |
os_sprintf didn't work for me, the watchdog timer triggered a reboot. void setup() {
Serial.begin(115200);
Serial.println("starting");
char *data = "1234";
int i = 0;
os_sprintf(data,"%d", &i);
Serial.println(i);
}
void loop() { } When os_sprintf is replaced with sscanf, the compiler throws a undefined reference error. |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Throws this:
Pretty straight forward.
Running on 1.6.4-673-g8cd3697
If anybody has a solution this would be very much appreciated
The text was updated successfully, but these errors were encountered: