mirror of
https://github.com/openharmony/device_hisilicon_hispark_aries.git
synced 2026-07-01 22:34:03 -04:00
!19 对内核中menuconfig开关的宏使用#ifdef/#ifndef来做预编译判断
Merge pull request !19 from boxi/upload
This commit is contained in:
@@ -26,7 +26,6 @@ extern "C" {
|
||||
|
||||
#define LOSCFG_PLATFORM_HWI_LIMIT 96
|
||||
#define OS_SYS_CLOCK 50000000
|
||||
#define LOSCFG_BASE_CORE_TICK_HW_TIME YES
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if __cplusplus
|
||||
|
||||
@@ -97,7 +97,6 @@ extern "C" {
|
||||
#define HRTIMER_TIMER_REG_BASE TIMER3_REG_BASE /* timer for hrtimer */
|
||||
#define HRTIMER_TIMER_ENABLE TIMER3_ENABLE
|
||||
|
||||
#define LOSCFG_BASE_CORE_TICK_HW_TIME NO
|
||||
#define NUM_HAL_INTERRUPT_TIMER NUM_HAL_INTERRUPT_TIMER0
|
||||
#define NUM_HAL_INTERRUPT_HRTIMER NUM_HAL_INTERRUPT_TIMER3
|
||||
|
||||
|
||||
Reference in New Issue
Block a user