mirror of
https://github.com/stnolting/neorv32.git
synced 2025-04-23 13:47:33 -04:00
[sw/example] typo fix
This commit is contained in:
parent
98136ec533
commit
29d494d4e5
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ int main() {
|
|||
|
||||
// compute WDT timeout value
|
||||
// - the WDT counter increments at f_wdt = f_main / 4096
|
||||
uint32_t timeout = WDT_TIMEOUT_S * (NEORV32_SYSINFO.CLK / 4096)
|
||||
uint32_t timeout = WDT_TIMEOUT_S * (NEORV32_SYSINFO.CLK / 4096);
|
||||
if (timeout & 0xFF000000U) { // check if timeout value fits into 24-bit
|
||||
neorv32_uart0_puts("Timeout value does not fit into 24-bit!\n");
|
||||
return -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue