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:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user