-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
dd25e2b breaks some integer to string conversion functions, for example ultoa. #5423
Comments
In that case, maybe changing it to static could do the trick. Could you please try to remove the guards and rename the function to |
Both versions ( |
[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
Hello, I'm closing this issue as there is already merged PR. Thanks for your contribution @rtrbt! |
Description:
The fix for #5045 in commit dd25e2b tries to fix an issue with multiple definitions for reverse in stdlib_noniso.c and esp_dsp.h. However this breaks some integer to string conversion functions, that use the reverse function, at least ultoa, as well as the String constructors using those functions.
Expected output is 123456 (twice), but 654321 is printed instead.
If I change the guard in line 33 to #if 1 it works as expected.
arduino-esp32/cores/esp32/stdlib_noniso.c
Lines 33 to 47 in 4ada3f5
Sketch:
The text was updated successfully, but these errors were encountered: