Skip to content

Commit

Permalink
UART_MODE_RS485_HALF_DUPLEX
Browse files Browse the repository at this point in the history
  • Loading branch information
netmindz authored Sep 17, 2024
1 parent 9f5b2f0 commit 3615e97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/BalboaGL/ESPBalboaGL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ void BalboaGL::setup() {
ESP_LOGI(TAG, "Serial begin rx,tx = %u,%u", this->rx_pin, this->tx_pin);
hw_serial_->begin(115200, SERIAL_8N1, rx_pin, tx_pin);
hw_serial_->setHwFlowCtrlMode(HW_FLOWCTRL_DISABLE);
hw_serial_->setPins(this->rx_pin, this->tx_pin, -1, this->rts_pin)
hw_serial_->setPins(this->rx_pin, this->tx_pin, -1, this->rts_pin);
hw_serial->setMode(UART_MODE_RS485_HALF_DUPLEX);
this->spa = new balboaGL(hw_serial_, rts_pin, panel_select_pin);
this->spa->attachPanelInterrupt();
Expand Down

0 comments on commit 3615e97

Please sign in to comment.