diff options
author | Joey Castillo <jose.castillo@gmail.com> | 2021-08-08 19:56:33 -0400 |
---|---|---|
committer | Joey Castillo <jose.castillo@gmail.com> | 2021-08-08 20:17:08 -0400 |
commit | 616e4fb1054fb2d500e4720a38b02501c8214030 (patch) | |
tree | 40e3044e4136066989f49756f91eb3cb3be0642d /watch-library/config | |
parent | ca96db1ef5729b8b14d5964acbf5eed7b34e1b29 (diff) | |
download | Sensor-Watch-616e4fb1054fb2d500e4720a38b02501c8214030.tar.gz Sensor-Watch-616e4fb1054fb2d500e4720a38b02501c8214030.tar.bz2 Sensor-Watch-616e4fb1054fb2d500e4720a38b02501c8214030.zip |
add API for playing sounds from the buzzer
Diffstat (limited to 'watch-library/config')
-rw-r--r-- | watch-library/config/peripheral_clk_config.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/watch-library/config/peripheral_clk_config.h b/watch-library/config/peripheral_clk_config.h index 1dec8b5e..61619b6a 100644 --- a/watch-library/config/peripheral_clk_config.h +++ b/watch-library/config/peripheral_clk_config.h @@ -173,7 +173,7 @@ // <i> Select the clock source for TCC. #ifndef CONF_GCLK_TCC0_SRC -#define CONF_GCLK_TCC0_SRC GCLK_PCHCTRL_GEN_GCLK3_Val +#define CONF_GCLK_TCC0_SRC GCLK_PCHCTRL_GEN_GCLK0_Val #endif /** @@ -181,7 +181,7 @@ * \brief TCC0's Clock frequency */ #ifndef CONF_GCLK_TCC0_FREQUENCY -#define CONF_GCLK_TCC0_FREQUENCY 32768 +#define CONF_GCLK_TCC0_FREQUENCY 16000000 #endif #include <hpl_osc32kctrl_config.h> |