Skip to content

Commit

Permalink
Unbreak integer to string conversion functions. (#5423) (#5438)
Browse files Browse the repository at this point in the history
  • Loading branch information
rtrbt committed Jul 26, 2021
1 parent 1775dd1 commit 3780b5c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions cores/esp32/stdlib_noniso.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@
#include "stdlib_noniso.h"
#include "esp_system.h"

#if !CONFIG_DSP_ANSI && !CONFIG_DSP_OPTIMIZED
void reverse(char* begin, char* end) {
static void reverse(char* begin, char* end) {
char *is = begin;
char *ie = end - 1;
while(is < ie) {
Expand All @@ -42,9 +41,6 @@ void reverse(char* begin, char* end) {
--ie;
}
}
#else
void reverse(char* begin, char* end);
#endif

char* ltoa(long value, char* result, int base) {
if(base < 2 || base > 16) {
Expand Down

0 comments on commit 3780b5c

Please sign in to comment.