Fix the BL602 mtimer frequency error.

This commit is contained in:
Virus.V 2020-12-21 15:46:36 +08:00 committed by Brennan Ashton
parent 2b8e0945a9
commit 12258d72d2

View File

@ -40,7 +40,7 @@
* Pre-processor Definitions
****************************************************************************/
#define TICK_COUNT (160 * 1000 * 1000 / TICK_PER_SEC)
#define TICK_COUNT (10 * 1000 * 1000 / TICK_PER_SEC)
#define CLINT_BASE_ADDRESS 0x02000000
#define getreg64(a) (*(volatile uint64_t *)(a))