gecko_sdk icon indicating copy to clipboard operation
gecko_sdk copied to clipboard

Fix typo in sl_sleeptimer_hal_rtc.c

Open ByteSnapAnthony opened this issue 1 year ago • 2 comments

sl_sleeptimer_hal_rtc.c incorrectly attempts to use CMU_LFCLKSEL_LFA_LFRCO and CMU_LFCLKSEL_LFA_LFXO macros to determine Power Manager lowest allowed power state in the sli_sleeptimer_set_pm_em_requirement function.

This fails to build on a project targeting an EFM32GG12B110F1024GM64 processor and would likely fail on any other part that has the LFA clock select mask

ByteSnapAnthony avatar Aug 11 '23 14:08 ByteSnapAnthony

Hi @ByteSnapAnthony Thanks for submitting this PR. I'll reach out to someone from our platform team to notify them of this finding.

lmnotran avatar Aug 11 '23 18:08 lmnotran

@ByteSnapAnthony Thanks again for finding this. It's on the platform team's radar now and should be fixed in an upcoming patch release

lmnotran avatar Aug 11 '23 19:08 lmnotran