Explorar el Código

ggearsensor宏定义引用;

Ye Jin hace 1 año
padre
commit
b3b03f85e7
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  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;