Browse Source

fix recursive macro dependency

yangwu 5 years ago
parent
commit
7c94a2c3f6
1 changed files with 8 additions and 8 deletions
  1. 8 8
      bsp/raspberry-pi/raspi3-64/driver/Kconfig

+ 8 - 8
bsp/raspberry-pi/raspi3-64/driver/Kconfig

@@ -27,16 +27,16 @@ menu "Hardware Drivers Config"
 
 
         menuconfig BSP_USING_SYSTIMER
         menuconfig BSP_USING_SYSTIMER
             bool "Enable SYSTIMER"
             bool "Enable SYSTIMER"
-            select BSP_USING_SYSTIMER
+            select RT_USING_SYSTIMER
             default n
             default n
 
 
-        if  BSP_USING_SYSTIMER
-            config RT_USING_SYSTIMER1
-                bool "Enable sys timer1"
-                default n
-            config RT_USING_SYSTIMER3
-                bool "Enable sys timer3"
-                default n
+            if  RT_USING_SYSTIMER
+                config RT_USING_SYSTIMER1
+                    bool "Enable sys timer1"
+                    default n
+                config RT_USING_SYSTIMER3
+                    bool "Enable sys timer3"
+                    default n
         endif
         endif
 
 
         menuconfig BSP_USING_I2C
         menuconfig BSP_USING_I2C