Skip to content

Commit 7d57fbd

Browse files
EmilioCBendecsny
authored andcommitted
MCXN947: drivers: fsl_clock.c: Fix WWDT Sel Bug
The case statement for selecting the WDT1 clock sel is missing a possible case that selects 1MHZ. Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
1 parent f6c7108 commit 7d57fbd

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

mcux/README

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,4 @@ Patch List:
7878
11. devices: LPC5536: Changed FSL_FEATURE_PWM_HAS_NO_WAITEN from 1 to 0 to solve pwm issue.
7979
12. devices: LPC55S36: Changed FSL_FEATURE_PWM_HAS_NO_WAITEN from 1 to 0 to solve pwm issue.
8080
13. devices: MIMX8UD7: add definition for LPUART_RX_TX_IRQS
81+
14. devices: MCXN947: clock: Updated the clock frequency, case 3 on GetWdtClkFreq returns 1MHZ

mcux/mcux-sdk/devices/MCXN947/drivers/fsl_clock.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1734,6 +1734,9 @@ uint32_t CLOCK_GetWdtClkFreq(uint32_t id)
17341734
case 2U:
17351735
freq = CLOCK_GetClk1MFreq();
17361736
break;
1737+
case 3U:
1738+
freq = CLOCK_GetClk1MFreq();
1739+
break;
17371740
default:
17381741
freq = 0U;
17391742
break;

0 commit comments

Comments
 (0)