Update bootloader/itoa.cpp

Co-authored-by: Lauryy06 <80424145+Lauryy06@users.noreply.github.com>
This commit is contained in:
devdl11
2022-04-08 13:20:56 +02:00
committed by GitHub
parent 80f099c274
commit 7a6c211001

View File

@@ -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;