typedef signed char int8_t; /*!< exact-width 8-bit signed int */
typedef signed short int16_t; /*!< exact-width 16-bit signed int */
typedef signed long int32_t; /*!< exact-width 32-bit signed int */
typedef signed long long int64_t; /*!< exact-width 64-bit signed int */
typedef unsigned char uint8_t; /*!< exact-width 8-bit unsigned int */
typedef unsigned short uint16_t; /*!< exact-width 16-bit unsigned int */
typedef unsigned long uint32_t; /*!< exact-width 32-bit unsigned int */
typedef unsigned long long uint64_t; /*!< exact-width 64-bit unsigned int */
#if 1
if (!(upgarde_state&0x04))
if (strstr(temp_buf, R_FW_FLAG) != NULL)
{
upgarde_state|= 0x04;
printf("check R fw flag ok!\n");
end = clock(); //結束時,取得結束時間
if (!(upgarde_state&0x08))
if (strstr(temp_buf, T_FW_FLAG) != NULL)
{
upgarde_state|= 0x08;
printf("check T fw flag ok!\n");
end = clock(); //結束時,取得結束時間