Skip to content

Commit

Permalink
remote cts rts
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Dec 7, 2024
1 parent 4343f46 commit 06565ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/BL0942/shelly_pm_bl0942.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ Status BL0942PowerMeter::Init() {

ucfg.dev.rx_gpio = rx_pin_;
ucfg.dev.tx_gpio = tx_pin_;
ucfg.dev.cts_gpio = -1;
ucfg.dev.rts_gpio = -1;

if (!mgos_uart_configure(uart_no_, &ucfg)) {
return mgos::Errorf(STATUS_INVALID_ARGUMENT, "Failed to configure UART");
Expand Down

0 comments on commit 06565ba

Please sign in to comment.