diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-02-28 08:52:56 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-02-28 08:52:56 +0000 |
commit | e7a8f8863149dedd1ab6a57406c62ea27a33e4eb (patch) | |
tree | 76015efcdff47e31f6b8ea63443ece5cbd684df0 /demos/various/RT-ARMCM0-GENERIC | |
parent | 10a77655c04a9f8507479935e1e1ecb125f36916 (diff) | |
download | ChibiOS-e7a8f8863149dedd1ab6a57406c62ea27a33e4eb.tar.gz ChibiOS-e7a8f8863149dedd1ab6a57406c62ea27a33e4eb.tar.bz2 ChibiOS-e7a8f8863149dedd1ab6a57406c62ea27a33e4eb.zip |
Fixed bug #715.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8976 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/various/RT-ARMCM0-GENERIC')
-rw-r--r-- | demos/various/RT-ARMCM0-GENERIC/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/various/RT-ARMCM0-GENERIC/main.c b/demos/various/RT-ARMCM0-GENERIC/main.c index 2cc543d51..8bd7eeef9 100644 --- a/demos/various/RT-ARMCM0-GENERIC/main.c +++ b/demos/various/RT-ARMCM0-GENERIC/main.c @@ -65,7 +65,7 @@ int main(void) { SysTick->LOAD = SYSTEM_CLOCK / CH_CFG_ST_FREQUENCY - (systime_t)1;
SysTick->VAL = (uint32_t)0;
SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk | SysTick_CTRL_ENABLE_Msk |
- SysTick_CTRL_ENABLE_Msk;
+ SysTick_CTRL_TICKINT_Msk;
/*
* System initializations.
|