IOsetting / hk32f030m-template

HSXP HK32F030M template project for GNU Arm Embedded Toolchain
Apache License 2.0
32 stars 3 forks source link

Fix deep sleep function #9

Closed deividAlfa closed 1 year ago

deividAlfa commented 1 year ago

The existing function sets the LSI clock but never resumes the previous clock setting. So, the system stays in LSI after waking up, requiring additional user intervention. Also it modified the flash wait states, didn't make sense as the CPU was going to be asleep.

IOsetting commented 1 year ago

Thank you! I will merge this.