fixed looping bug in conversion function
This commit is contained in:
parent
34b26797a1
commit
c6527da081
|
@ -63,7 +63,7 @@ char* ltoa(long number, char* string, int base)
|
||||||
*string++ = '-';
|
*string++ = '-';
|
||||||
}
|
}
|
||||||
|
|
||||||
itoa(number, string, base);
|
ultoa(number, string, base);
|
||||||
return old_string;
|
return old_string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -12,6 +12,7 @@ void main()
|
||||||
char buffer[1024];
|
char buffer[1024];
|
||||||
|
|
||||||
uart_init();
|
uart_init();
|
||||||
|
|
||||||
print_clippy();
|
print_clippy();
|
||||||
uart_puts("Boot successful! \n");
|
uart_puts("Boot successful! \n");
|
||||||
uart_puts("Started execution at 0x");
|
uart_puts("Started execution at 0x");
|
||||||
|
|
Loading…
Reference in a new issue