more receiving

This commit is contained in:
Wolfgang Hottgenroth 2020-11-02 18:19:57 +01:00
parent 6ecba172ad
commit dcb6ee0953
Signed by: wn
GPG Key ID: 6C1E5E531E0D5D7F

View File

@ -108,7 +108,7 @@ static void handleRequestEngine(void *handle) {
localMbusCommHandle->receiving = false;
HAL_UART_AbortReceive(&mbusUart);
uint8_t kitchenSink[16];
memset(kitchensink, 0, 16);
memset(kitchenSink, 0, 16);
HAL_StatusTypeDef r = HAL_UART_Receive(&mbusUart, kitchenSink, 16, 1000);
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",