From 4e4d75af6347a7bf728e6c01acfb9edccb761930 Mon Sep 17 00:00:00 2001 From: Maxim Prokhorov Date: Mon, 6 Dec 2021 18:55:11 +0300 Subject: [PATCH] rfbridge: fix efm8bb1 provider send & receive (possibly) noticed in the gitter https://gitter.im/tinkerman-cat/espurna?at=61abba5a76e37917551e4a2f refactoring causality, as there's no longer an explicit Serial.begin for RFB_PROVIDER_EFM8BB1 in the hardware setup in the system.cpp (also, from not including wip serial changes that did serial port setup :/) --- code/espurna/rfbridge.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/code/espurna/rfbridge.cpp b/code/espurna/rfbridge.cpp index 7f986de1..fc0f88a2 100644 --- a/code/espurna/rfbridge.cpp +++ b/code/espurna/rfbridge.cpp @@ -1260,6 +1260,7 @@ void _rfbSettingsMigrate(int version) { void rfbSetup() { #if RFB_PROVIDER == RFB_PROVIDER_EFM8BB1 + Serial.begin(SERIAL_BAUDRATE); _rfb_parser.reserve(RfbParser::MessageSizeBasic); #elif RFB_PROVIDER == RFB_PROVIDER_RCSWITCH