Skip to content

Commit 95424c5

Browse files
author
oclyke
committed
use 48MHz macro
1 parent db967c2 commit 95424c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/arduino/ard_sup/iomaster/ap3_iomaster.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ ap3_iom_configure(void *pHandle, am_hal_iom_config_t *psConfig)
506506
for( ; fsel < 128 ; fsel = fsel * 2)
507507
{
508508
//IOM and HFRC are not affected by burst mode
509-
totper = (48000000 / (2 * fsel))/reqFreq - 1;
509+
totper = (AM_HAL_IOM_48MHZ / (2 * fsel))/reqFreq - 1;
510510
if(totper < 256) break;
511511
}
512512

0 commit comments

Comments
 (0)