do not compile with stack auto, change functions to be nonreentrant, use fixed parameters

- frees up ~4KB of code space
This commit is contained in:
Jeff Wang
2019-05-02 03:27:01 -04:00
parent 6399cbf44f
commit 0049f3df98
15 changed files with 121 additions and 104 deletions

View File

@ -60,6 +60,7 @@ void backlight_off(void){
#endif //ifdef desktop
#ifdef DESKTOP
char* u32str(uint32_t x, char* buf, uint8_t base)
{
int i = 0, j;
@ -87,4 +88,5 @@ char* u32str(uint32_t x, char* buf, uint8_t base)
return buf;
}
#endif