|
@@ -686,7 +686,7 @@ HAL_StatusTypeDef HAL_MultiProcessor_Init(UART_HandleTypeDef *huart, uint8_t Add |
|
|
return HAL_OK; |
|
|
return HAL_OK; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
volatile uint32_t v; |
|
|
|
|
|
|
|
|
volatile uint32_t _checkinter_count; |
|
|
|
|
|
|
|
|
static void |
|
|
static void |
|
|
checkinter(UART_HandleTypeDef *huart) |
|
|
checkinter(UART_HandleTypeDef *huart) |
|
@@ -694,7 +694,7 @@ checkinter(UART_HandleTypeDef *huart) |
|
|
|
|
|
|
|
|
#if 1 |
|
|
#if 1 |
|
|
if (huart->ReceptionType == 0 && huart->Instance->CR1 & 0x10) { |
|
|
if (huart->ReceptionType == 0 && huart->Instance->CR1 & 0x10) { |
|
|
for(;;v++); |
|
|
|
|
|
|
|
|
for(;;_checkinter_count++); |
|
|
} |
|
|
} |
|
|
#endif |
|
|
#endif |
|
|
} |
|
|
} |
|
|