parent
1775dd1faa
commit
3780b5c924
@ -30,8 +30,7 @@
|
|||||||
#include "stdlib_noniso.h"
|
#include "stdlib_noniso.h"
|
||||||
#include "esp_system.h"
|
#include "esp_system.h"
|
||||||
|
|
||||||
#if !CONFIG_DSP_ANSI && !CONFIG_DSP_OPTIMIZED
|
static void reverse(char* begin, char* end) {
|
||||||
void reverse(char* begin, char* end) {
|
|
||||||
char *is = begin;
|
char *is = begin;
|
||||||
char *ie = end - 1;
|
char *ie = end - 1;
|
||||||
while(is < ie) {
|
while(is < ie) {
|
||||||
@ -42,9 +41,6 @@ void reverse(char* begin, char* end) {
|
|||||||
--ie;
|
--ie;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#else
|
|
||||||
void reverse(char* begin, char* end);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
char* ltoa(long value, char* result, int base) {
|
char* ltoa(long value, char* result, int base) {
|
||||||
if(base < 2 || base > 16) {
|
if(base < 2 || base > 16) {
|
||||||
|
Loading…
Reference in New Issue
Block a user