From 30ae3af2a517b959fed0c71ee53fe8be52c7c2da Mon Sep 17 00:00:00 2001 From: Tahsin Mutlugun Date: Tue, 8 Oct 2024 13:12:25 +0300 Subject: [PATCH] Fix shutdown mode function declaration for MAX32662 LP Shutdown function is defined as MXC_LP_EnterShutDownMode in lp.h however is implemented as MXC_LP_EnterPowerDownMode. Change its name in lp_me12.c to MXC_LP_EnterShutDownMode to make it consistent. Signed-off-by: Tahsin Mutlugun --- Libraries/PeriphDrivers/Source/LP/lp_me12.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/PeriphDrivers/Source/LP/lp_me12.c b/Libraries/PeriphDrivers/Source/LP/lp_me12.c index 3b2c9a931c3..ead2ecec3ee 100644 --- a/Libraries/PeriphDrivers/Source/LP/lp_me12.c +++ b/Libraries/PeriphDrivers/Source/LP/lp_me12.c @@ -58,7 +58,7 @@ void MXC_LP_EnterBackupMode(void) // Should never reach this line - device will jump to backup vector on exit from background mode. } -void MXC_LP_EnterPowerDownMode(void) +void MXC_LP_EnterShutDownMode(void) { MXC_GCR->pm &= ~MXC_F_GCR_PM_MODE; MXC_GCR->pm |= MXC_S_GCR_PM_MODE_SHUTDOWN;