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 disable_rxtx
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
  • Loading branch information
srmainwaring committed Nov 24, 2024
commit 2851273db28cbb09b31e47cba8ecf8684f42b0ac
4 changes: 2 additions & 2 deletions libraries/AP_HAL_ESP32/UARTDriver.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ class ESP32::UARTDriver : public AP_HAL::UARTDriver
bool tx_pending() override;

uint32_t txspace() override;
// disable TX/RX pins for unusued uart?
void disable_rxtx(void) const override;

void _timer_tick(void) override;

Expand All @@ -54,8 +56,6 @@ class ESP32::UARTDriver : public AP_HAL::UARTDriver
return 10*1024;
}

// disable TX/RX pins for unusued uart?
void disable_rxtx(void) const override;

// unused stuff from chibios - do we want it in the future?
// struct SerialDef {
Expand Down