rtl8195am - fix us_ticker collision and race

Switch to timer 2 for us_ticker for timer 6 might be used
for power saving.

Signed-off-by: Tony Wu <tonywu@realtek.com>
pull/5352/head
Tony Wu 2017-10-17 11:18:09 +08:00 committed by Yuguo Zou
parent cbb8a1f994
commit 1ee88fb0f6
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@
#define TICK_READ_FROM_CPU 0 // 1: read tick from CPU, 0: read tick from G-Timer
#define SYS_TIM_ID 1 // the G-Timer ID for System
#define APP_TIM_ID 6 // the G-Timer ID for Application
#define APP_TIM_ID 2 // the G-Timer ID for Application
/*
* For RTL8195AM, clock source is 32k