Преглед на файлове

ggearsensor宏定义引用;

Ye Jin преди 1 година
родител
ревизия
b3b03f85e7
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      User project/3.BasicFunction/Source/bikegearsensor.c

+ 3 - 3
User project/3.BasicFunction/Source/bikegearsensor.c

@@ -16,7 +16,7 @@
 #include "api.h"
 #include "board_config.h"
 #include "bikegearsensor.h"
-
+#include "user.h"
 /******************************
  *
  *  Parameter
@@ -81,9 +81,9 @@ void bikegearsensor_voBikeGearsensorDetect(void)
             bikegearsensor_stBikeGearsensorOut.uwDetectTimeCnt = 0;
         }
     }
-/*#if (GEARSENSOR_ENABLE == 0)
+#if (GEARSENSOR_ENABLE == 0)
     bikegearsensor_stBikeGearsensorOut.blGearSensorOnFlg = FALSE;
-#endif*/
+#endif
 }
 /***************************************************************
  Function: bikegearsensor_blBikeGetState;