Update bootloader/itoa.cpp

Co-authored-by: Lauryy06 <80424145+Lauryy06@users.noreply.github.com>
This commit is contained in:
devdl11
2022-04-08 13:17:11 +02:00
committed by GitHub
parent 8db051474c
commit 3af3d70055

View File

@@ -30,8 +30,7 @@ char* Bootloader::Utility::itoa(int value, char* buffer, int base)
int n = abs(value);
int i = 0;
while (n)
{
while (n) {
int r = n % base;
if (r >= 10) {