summaryrefslogtreecommitdiffstats
path: root/watch-library/watch/watch.c
diff options
context:
space:
mode:
Diffstat (limited to 'watch-library/watch/watch.c')
-rw-r--r--watch-library/watch/watch.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/watch-library/watch/watch.c b/watch-library/watch/watch.c
index e3a6c4d5..059c2a93 100644
--- a/watch-library/watch/watch.c
+++ b/watch-library/watch/watch.c
@@ -35,22 +35,3 @@
#include "watch_uart.c"
#include "watch_deepsleep.c"
#include "watch_private.c"
-
-uint32_t watch_get_cpu_speed() {
- uint8_t fsel = hri_oscctrl_get_OSC16MCTRL_FSEL_bf(OSCCTRL, OSCCTRL_OSC16MCTRL_MASK);
- switch (fsel) {
- case OSCCTRL_OSC16MCTRL_FSEL_4_Val:
- return 4000000;
- break;
- case OSCCTRL_OSC16MCTRL_FSEL_8_Val:
- return 8000000;
- break;
- case OSCCTRL_OSC16MCTRL_FSEL_12_Val:
- return 12000000;
- break;
- case OSCCTRL_OSC16MCTRL_FSEL_16_Val:
- return 16000000;
- break;
- }
- return 0;
-}