diff options
author | Clyne Sullivan <clyne@bitgloo.com> | 2022-06-11 12:41:56 -0400 |
---|---|---|
committer | Clyne Sullivan <clyne@bitgloo.com> | 2022-06-11 12:41:56 -0400 |
commit | fb05a5aaadd0da3d20dfd492c1978a76fe15743b (patch) | |
tree | 289e22dbeddc7b02b035840cb200692f4601d7e1 /source/main.c | |
parent | 824e603b236b7fd8302b3a6ca65ad05c1afa7fbc (diff) |
fix power settings; rand() for flapbird
Diffstat (limited to 'source/main.c')
-rw-r--r-- | source/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/main.c b/source/main.c index fd753ea..89f3cf0 100644 --- a/source/main.c +++ b/source/main.c @@ -67,6 +67,9 @@ static void alarm_callback(RTCDriver *rtcp, rtcevent_t event) int main(void) { halInit(); + + RCC->CR &= ~(RCC_CR_PLLON); // Ensure that the PLL is off (unused). + //chSysInit(); buttons_init(); |