* minor refactor for RAK_4631 SerialInterface

This commit is contained in:
Scott Powell 2025-03-15 14:55:52 +11:00
parent 06c666843e
commit 27aa7a7bb0
2 changed files with 6 additions and 4 deletions

View file

@ -1399,9 +1399,6 @@ void setup() {
sprintf(dev_name, "%s%s", BLE_NAME_PREFIX, the_mesh.getNodeName());
serial_interface.begin(dev_name, the_mesh.getBLEPin());
#else
#ifdef RAK_4631
pinMode(WB_IO2, OUTPUT);
#endif
serial_interface.begin(Serial);
#endif
the_mesh.startInterface(serial_interface);