From 7ae42ac662dc4fa3a7514e09dce40ada3e51a0f2 Mon Sep 17 00:00:00 2001 From: Lephenixnoir Date: Tue, 20 Oct 2020 15:12:28 +0200 Subject: [PATCH] =?UTF-8?q?explicitly=20specify=20the=20default=20P=CF=95/?= =?UTF-8?q?4=20prescaler?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This makes no difference since this is the default. --- libprof.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libprof.c b/libprof.c index 017a9ac..b0e98f3 100644 --- a/libprof.c +++ b/libprof.c @@ -17,7 +17,7 @@ int prof_init(void) int timer = -1; for(int t = 2; t >= 0 && timer == -1; t--) { - timer = timer_setup(t, 0xffffffff, NULL); + timer = timer_setup(t | TIMER_Pphi_4, 0xffffffff, NULL); } if(timer == -1) {