]> git.earman.xyz Git - sensor-watch.git/commit
make the HAL sleep function obey the chip documentation
authorAlex Maestas <git@se30.xyz>
Mon, 18 Dec 2023 03:06:10 +0000 (03:06 +0000)
committerAlex Maestas <git@se30.xyz>
Mon, 18 Dec 2023 03:09:36 +0000 (03:09 +0000)
commitd96d6f9c919816a01a9139adf02a1063289cac27
tree8833693fb9216e9f994ebb9fbd49ea92ab2451e2
parentd10fa223b2fb85bbd79918ef6d19d16acb8e7af5
make the HAL sleep function obey the chip documentation

the sleep mode doesn't get set immediately, and needs to be waited upon.
watch-library/hardware/hal/include/hpl_sleep.h
watch-library/hardware/hal/src/hal_sleep.c
watch-library/hardware/hpl/pm/hpl_pm.c