Src/main.c
@@ -31,7 +31,7 @@ #define NSH1 0x0001 #define GP 0x0002 //#define DEBUG_MODE #define DEBUG_MODE /* USER CODE END Includes */ /* Private typedef -----------------------------------------------------------*/ @@ -366,7 +366,7 @@ GPIO_InitTypeDef GPIO_InitStruct = {0}; if(g_com_map[MOTORBEEPER_INDEX]!=1&&g_com_map[MOTORBEEPER_INDEX]!=2) { g_com_map[MOTORBEEPER_INDEX] = 2; g_com_map[MOTORBEEPER_INDEX] = 1; } hardware_type = g_com_map[MOTORBEEPER_INDEX]; switch(hardware_type)