Browse Source

append

disinfection_machine
zhaohe 3 years ago
parent
commit
b4d10e2083
  1. 1
      core/components/uart/uart.cpp

1
core/components/uart/uart.cpp

@ -207,6 +207,7 @@ int Uart::receive(char *data, int size_max) {
logger->debug("{} receive: {}[{}]", this->device.name, StringUtil().bytesToString((const uint8_t *)data, ret));
}
}
return ret;
}
int Uart::stop() {
int rc = uartStop(&this->device);

Loading…
Cancel
Save