Voxl ESC driver update (#23022)

* Made Serial API open the UART in NON BLOCKING mode
* Updated voxl_esc driver to latest from ModalAI fork
* Ported voxl_esc driver over to new Serial UART API
* Removed voxl_esc serial abstraction since new Serial API is already a serial abstraction
This commit is contained in:
Eric Katzfey
2024-04-17 15:09:35 -04:00
committed by GitHub
parent a8a67fbf8f
commit 2dccd6cacb
12 changed files with 355 additions and 403 deletions
+1 -1
View File
@@ -163,7 +163,7 @@ ssize_t SerialImpl::read(uint8_t *buffer, size_t buffer_size)
return -1;
}
int ret_read = qurt_uart_read(_serial_fd, (char *) buffer, buffer_size, 500);
int ret_read = qurt_uart_read(_serial_fd, (char *) buffer, buffer_size, 100);
if (ret_read < 0) {
PX4_DEBUG("%s read error %d", _port, ret_read);