more receiving
This commit is contained in:
parent
6ecba172ad
commit
dcb6ee0953
@ -108,7 +108,7 @@ static void handleRequestEngine(void *handle) {
|
|||||||
localMbusCommHandle->receiving = false;
|
localMbusCommHandle->receiving = false;
|
||||||
HAL_UART_AbortReceive(&mbusUart);
|
HAL_UART_AbortReceive(&mbusUart);
|
||||||
uint8_t kitchenSink[16];
|
uint8_t kitchenSink[16];
|
||||||
memset(kitchensink, 0, 16);
|
memset(kitchenSink, 0, 16);
|
||||||
HAL_StatusTypeDef r = HAL_UART_Receive(&mbusUart, kitchenSink, 16, 1000);
|
HAL_StatusTypeDef r = HAL_UART_Receive(&mbusUart, kitchenSink, 16, 1000);
|
||||||
if (r == HAL_OK) {
|
if (r == HAL_OK) {
|
||||||
logMsg("hre abort, still got some: %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x",
|
logMsg("hre abort, still got some: %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user