fix FR_math impl
This commit is contained in:
parent
c1cee6a15a
commit
3c50fcd695
4 changed files with 33 additions and 16 deletions
|
|
@ -249,3 +249,8 @@ const char* i16toa(int16_t value)
|
|||
|
||||
return p;
|
||||
}
|
||||
|
||||
static char str_buf[32];
|
||||
uint8_t str_len;
|
||||
int buf_putc(char c) { str_buf[str_len++] = c; return 0; }
|
||||
const char* buf_get(void) { str_buf[str_len] = '\0'; str_len = 0; return str_buf; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue