Skip to content

Commit

Permalink
use proper sw serial config enum
Browse files Browse the repository at this point in the history
  • Loading branch information
bertmelis authored Sep 23, 2024
1 parent aa1e073 commit 1801365
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Interface/SoftwareSerialInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ SoftwareSerialInterface::SoftwareSerialInterface(SoftwareSerial* interface)
}

bool SoftwareSerialInterface::begin() {
_interface->begin(4800, SWSERIAL_8E2);
_interface->begin(4800, EspSoftwareSerial::SWSERIAL_8E2);
return (*_interface);
}

Expand Down

0 comments on commit 1801365

Please sign in to comment.