From cf06a2ec5fed31407a3b2b98d3693d3e454707bf Mon Sep 17 00:00:00 2001 From: Frederic Pillon Date: Mon, 21 Sep 2026 11:08:52 +0200 Subject: [PATCH 1/2] fix: function declaration Signed-off-by: Frederic Pillon --- cores/arduino/itoa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cores/arduino/itoa.c b/cores/arduino/itoa.c index d2a4ce5a4e..e737b6f14d 100644 --- a/cores/arduino/itoa.c +++ b/cores/arduino/itoa.c @@ -111,7 +111,7 @@ char *itoa(int value, char *string, int radix) return ltoa(value, string, radix) ; } -char *utoa(unsigned int value, char *string, int radix) +char *utoa(unsigned value, char *string, int radix) { return ultoa(value, string, radix) ; } From 14f4ee00840771ccb073c60ad7853d448032aa23 Mon Sep 17 00:00:00 2001 From: Frederic Pillon Date: Mon, 21 Sep 2026 11:09:32 +0200 Subject: [PATCH 2/2] feat: add itoa.h Fixes #3084. Signed-off-by: Frederic Pillon --- cores/arduino/wiring.h | 1 + 1 file changed, 1 insertion(+) diff --git a/cores/arduino/wiring.h b/cores/arduino/wiring.h index f047dcc696..d74e8ed58f 100644 --- a/cores/arduino/wiring.h +++ b/cores/arduino/wiring.h @@ -28,6 +28,7 @@ #include "api/Common.h" #include "api/deprecated-avr-comp/avr/dtostrf.h" +#include "api/itoa.h" #include "clock.h" #include "dwt.h" #include "interrupt.h"