CRC and Pow board profile

This commit is contained in:
Gunnar Skjold
2024-03-17 09:14:02 +01:00
parent bdba6a0254
commit dfca5e37dc
3 changed files with 30 additions and 2 deletions

View File

@@ -346,6 +346,15 @@ void setup() {
Serial.flush();
Serial.end();
config.getMeterConfig(meterConfig);
switch(sysConfig.boardType) {
case 5:
case 6:
case 7:
meterConfig.rxPin = 16;
meterConfig.txPin = 9;
break;
}
if(meterConfig.rxPin == 3) {
shared = true;
#if defined(ESP8266)