mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-09-18 20:04:42 -04:00
Update clock frequency to 24 MHz and UART baudrate to 500000.
This commit is contained in:
parent
3ccdf8fc0f
commit
c4eda3ff8e
4 changed files with 10 additions and 9 deletions
|
@ -311,8 +311,8 @@ int main(void)
|
|||
}
|
||||
|
||||
puts("\r\nTesting timer... 3");
|
||||
// Matching clock at 18 MHz, giving us timer in seconds
|
||||
*timer_prescaler = 18 * 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