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>
This commit is contained in:
parent
f6c7108caf
commit
7d57fbd057
|
@ -78,3 +78,4 @@ Patch List:
|
|||
11. devices: LPC5536: Changed FSL_FEATURE_PWM_HAS_NO_WAITEN from 1 to 0 to solve pwm issue.
|
||||
12. devices: LPC55S36: Changed FSL_FEATURE_PWM_HAS_NO_WAITEN from 1 to 0 to solve pwm issue.
|
||||
13. devices: MIMX8UD7: add definition for LPUART_RX_TX_IRQS
|
||||
14. devices: MCXN947: clock: Updated the clock frequency, case 3 on GetWdtClkFreq returns 1MHZ
|
||||
|
|
|
@ -1734,6 +1734,9 @@ uint32_t CLOCK_GetWdtClkFreq(uint32_t id)
|
|||
case 2U:
|
||||
freq = CLOCK_GetClk1MFreq();
|
||||
break;
|
||||
case 3U:
|
||||
freq = CLOCK_GetClk1MFreq();
|
||||
break;
|
||||
default:
|
||||
freq = 0U;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue