summaryrefslogtreecommitdiffstats
path: root/watch-library/hardware/hpl
diff options
context:
space:
mode:
authorJoey Castillo <joeycastillo@utexas.edu>2022-02-11 12:22:11 -0500
committerJoey Castillo <joeycastillo@utexas.edu>2022-02-11 12:22:11 -0500
commit5dac14974c9b2d00431430e9f24dd7e26f69246f (patch)
tree64fc0cad2a7f4be0a7dd9745cecee40c3b7f2667 /watch-library/hardware/hpl
parent74f8747764a23f905a86f70ee97ae4c3b83526a9 (diff)
downloadSensor-Watch-5dac14974c9b2d00431430e9f24dd7e26f69246f.tar.gz
Sensor-Watch-5dac14974c9b2d00431430e9f24dd7e26f69246f.tar.bz2
Sensor-Watch-5dac14974c9b2d00431430e9f24dd7e26f69246f.zip
osc32kctrl: implement CONF_SLCDCTRL_SRC setting
Diffstat (limited to 'watch-library/hardware/hpl')
-rw-r--r--watch-library/hardware/hpl/osc32kctrl/hpl_osc32kctrl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/watch-library/hardware/hpl/osc32kctrl/hpl_osc32kctrl.c b/watch-library/hardware/hpl/osc32kctrl/hpl_osc32kctrl.c
index b6c624cc..e69e916d 100644
--- a/watch-library/hardware/hpl/osc32kctrl/hpl_osc32kctrl.c
+++ b/watch-library/hardware/hpl/osc32kctrl/hpl_osc32kctrl.c
@@ -82,5 +82,7 @@ void _osc32kctrl_init_sources(void)
#endif
hri_osc32kctrl_write_RTCCTRL_reg(hw, OSC32KCTRL_RTCCTRL_RTCSEL(CONF_RTCCTRL));
+ hri_osc32kctrl_write_SLCDCTRL_SLCDSEL_bit(hw, CONF_SLCDCTRL_SRC);
+
(void)calib;
}