Closed
Description
I recently tried to use sscanf, however the compiler threw an undefined reference error.
Replacing sscanf with os_sprintf as recommended in issue #404 did not solve it, instead it created a watchdog timer reboot.
Here is the code I was using:
void setup() {
Serial.begin(115200);
Serial.println("starting");
char *data = "1234";
int i = 0;
sscanf(data,"%d", &i);
Serial.println(i);
}
void loop() { }
Any suggestions would be appreciated.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.