testapp: Update to 24 MHz clock

This commit is contained in:
Mikael Ågren 2025-05-21 16:17:06 +02:00 committed by Michael Cardell Widerkrantz
parent 1fec28ff0d
commit 7b1c1e5076
No known key found for this signature in database
GPG key ID: D3DB3DDF57E704E5

View file

@ -214,8 +214,8 @@ int main(void)
} }
puts(IO_CDC, "\r\nTesting timer... 3"); puts(IO_CDC, "\r\nTesting timer... 3");
// Matching clock at 21 MHz, giving us timer in seconds // Matching clock at 24 MHz, giving us timer in seconds
*timer_prescaler = 21 * 1000000; *timer_prescaler = 24 * 1000000;
// Test timer expiration after 1s // Test timer expiration after 1s
*timer = 1; *timer = 1;