Src/main.c
@@ -311,7 +311,8 @@ hardware_pici= STMFLASH_ReadHalfWord(FLASH_HARDWARE_VERSION_MAP+2); hardware_type= STMFLASH_ReadHalfWord(FLASH_HARDWARE_VERSION_MAP+4); //deca_sleep(1000); g_com_map[VERSION] = 0x021f; g_com_map[VERSION] = 0x0223; // g_com_map[DEV_ID]=0x7; #ifdef DEBUG_MODE // g_com_map[DEV_ROLE]=1; @@ -384,7 +385,7 @@ GPIO_InitTypeDef GPIO_InitStruct = {0}; //hardware_type=2; if(hardware_type == 0) hardware_type = 2; hardware_type = 1; switch(hardware_type) { case 1: