From 993c1a1d9bfebc382b5ae3cb5c78debdac733df7 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sun, 29 Mar 2026 12:48:02 -0500 Subject: [PATCH] arm/lpc32xx/rtc/rtc-config.c: Fix compilation error There was an argument and parameter with the same name. --- bsps/arm/lpc32xx/rtc/rtc-config.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bsps/arm/lpc32xx/rtc/rtc-config.c b/bsps/arm/lpc32xx/rtc/rtc-config.c index 52c8a82d33..722f860d75 100644 --- a/bsps/arm/lpc32xx/rtc/rtc-config.c +++ b/bsps/arm/lpc32xx/rtc/rtc-config.c @@ -131,16 +131,16 @@ static int lpc32xx_rtc_set_time(int minor, const rtems_time_of_day *tod) { (void) minor; time_t tod_time_t; - uint32 tod; + uint32_t tod_for_device; tod_time_t = _TOD_To_seconds(tod); if (tod_time_t > UINT32_MAX) { return -1; } - tod = tod_time_t; + tod_for_device = tod_time_t; - lpc32xx_rtc_set(tod); + lpc32xx_rtc_set(tod_for_device); return 0; }