Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AP_HAL_ESP32: add control options to UART driver #28721

Draft
wants to merge 17 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
AP_HAL_ESP32: UARTDriver: move vprintf
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
  • Loading branch information
srmainwaring committed Nov 24, 2024
commit b92e2ef5cb8f6ad17ef7a5fad073e99c2fe1bde2
4 changes: 2 additions & 2 deletions libraries/AP_HAL_ESP32/UARTDriver.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ class ESP32::UARTDriver : public AP_HAL::UARTDriver
/* Do not allow copies */
CLASS_NO_COPY(UARTDriver);

void vprintf(const char *fmt, va_list ap) override;

bool is_initialized() override;
bool tx_pending() override;

Expand Down Expand Up @@ -90,6 +88,8 @@ class ESP32::UARTDriver : public AP_HAL::UARTDriver

uint32_t get_baud_rate() const override { return _baudrate; }

void vprintf(const char *fmt, va_list ap) override;

private:
bool _initialized;
const size_t TX_BUF_SIZE = 1024;
Expand Down