From fb05a5aaadd0da3d20dfd492c1978a76fe15743b Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Sat, 11 Jun 2022 12:41:56 -0400 Subject: fix power settings; rand() for flapbird --- source/main.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/main.c') 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(); -- cgit v1.2.3