mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
Update bootloader/itoa.cpp
Co-authored-by: Lauryy06 <80424145+Lauryy06@users.noreply.github.com>
This commit is contained in:
@@ -19,8 +19,7 @@ char* reverse(char *buffer, int i, int j) {
|
||||
}
|
||||
|
||||
// Iterative function to implement `itoa()` function in C
|
||||
char* Bootloader::Utility::itoa(int value, char* buffer, int base)
|
||||
{
|
||||
char* Bootloader::Utility::itoa(int value, char* buffer, int base) {
|
||||
// invalid input
|
||||
if (base < 2 || base > 32) {
|
||||
return buffer;
|
||||
|
||||
Reference in New Issue
Block a user