mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-08-01 19:26:13 -04:00
testapp: Update to 24 MHz clock
This commit is contained in:
parent
1fec28ff0d
commit
7b1c1e5076
1 changed files with 2 additions and 2 deletions
|
@ -214,8 +214,8 @@ int main(void)
|
|||
}
|
||||
|
||||
puts(IO_CDC, "\r\nTesting timer... 3");
|
||||
// Matching clock at 21 MHz, giving us timer in seconds
|
||||
*timer_prescaler = 21 * 1000000;
|
||||
// Matching clock at 24 MHz, giving us timer in seconds
|
||||
*timer_prescaler = 24 * 1000000;
|
||||
|
||||
// Test timer expiration after 1s
|
||||
*timer = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue