fix lcd indexing, clear to end of line function

This commit is contained in:
Jeff Wang
2019-03-21 21:01:53 -04:00
parent b3f0f12c32
commit 33949440db
3 changed files with 11 additions and 3 deletions

View File

@ -24,6 +24,7 @@ char* u32str(uint32_t x, char* buf, uint8_t base)
//corner case
if (x == 0){
buf[i] = '0';
i++;
}
//get reversed string
while(x > 0){