more receiving
This commit is contained in:
parent
60dc9b133c
commit
7f4dacb284
@ -108,7 +108,7 @@ static void handleRequestEngine(void *handle) {
|
||||
localMbusCommHandle->receiving = false;
|
||||
HAL_UART_AbortReceive(&mbusUart);
|
||||
uint8_t kitchenSink[16];
|
||||
HAL_StatusTypeDef r = HAL_UART_Receive(&mbusUart, &kitchenSink, 16, 500);
|
||||
HAL_StatusTypeDef r = HAL_UART_Receive(&mbusUart, kitchenSink, 16, 500);
|
||||
if (r == HAL_OK) {
|
||||
logMsg("hre abort, still go one: 0x%02x", kitchenSink);
|
||||
} else if (r == HAL_TIMEOUT) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user