summaryrefslogtreecommitdiffstats
path: root/watch-library/config
diff options
context:
space:
mode:
authorJoey Castillo <jose.castillo@gmail.com>2021-08-30 17:35:47 -0400
committerJoey Castillo <jose.castillo@gmail.com>2021-08-30 17:35:47 -0400
commitfbd9ae4b67b74a9a215f8231d33e3b2f5509abd0 (patch)
treea2690877dd96d939cdb50e45610261489af683f7 /watch-library/config
parenteb3d9b26cbda2d2612f11eb39843b221224f1fa7 (diff)
downloadSensor-Watch-fbd9ae4b67b74a9a215f8231d33e3b2f5509abd0.tar.gz
Sensor-Watch-fbd9ae4b67b74a9a215f8231d33e3b2f5509abd0.tar.bz2
Sensor-Watch-fbd9ae4b67b74a9a215f8231d33e3b2f5509abd0.zip
run watch at 4 MHz unless USB is enabled
Diffstat (limited to 'watch-library/config')
-rw-r--r--watch-library/config/hpl_oscctrl_config.h2
-rw-r--r--watch-library/config/peripheral_clk_config.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/watch-library/config/hpl_oscctrl_config.h b/watch-library/config/hpl_oscctrl_config.h
index 405ff207..ba2d42e6 100644
--- a/watch-library/config/hpl_oscctrl_config.h
+++ b/watch-library/config/hpl_oscctrl_config.h
@@ -147,7 +147,7 @@
// <i> This defines the oscillator frequency (Mhz)
// <id> osc16m_freq
#ifndef CONF_OSC16M_FSEL
-#define CONF_OSC16M_FSEL OSCCTRL_OSC16MCTRL_FSEL_8_Val
+#define CONF_OSC16M_FSEL OSCCTRL_OSC16MCTRL_FSEL_4_Val
#endif
// <q> Oscillator Calibration Control
diff --git a/watch-library/config/peripheral_clk_config.h b/watch-library/config/peripheral_clk_config.h
index 5cd1bb68..61619b6a 100644
--- a/watch-library/config/peripheral_clk_config.h
+++ b/watch-library/config/peripheral_clk_config.h
@@ -61,7 +61,7 @@
* \brief CPU's Clock frequency
*/
#ifndef CONF_CPU_FREQUENCY
-#define CONF_CPU_FREQUENCY 8000000
+#define CONF_CPU_FREQUENCY 4000000
#endif
// <y> RTC Clock Source