mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-09 14:42:05 +00:00
Elimate non-text output for Portduino
This commit is contained in:
parent
2c99f11073
commit
c009c0db1e
@ -51,7 +51,9 @@ SerialConsole::SerialConsole() : StreamAPI(&Port), RedirectablePrint(&Port), con
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#if !ARCH_PORTDUINO
|
||||||
emitRebooted();
|
emitRebooted();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
int32_t SerialConsole::runOnce()
|
int32_t SerialConsole::runOnce()
|
||||||
|
@ -344,7 +344,7 @@ void setup()
|
|||||||
Wire.begin(I2C_SDA, I2C_SCL);
|
Wire.begin(I2C_SDA, I2C_SCL);
|
||||||
#elif defined(ARCH_PORTDUINO)
|
#elif defined(ARCH_PORTDUINO)
|
||||||
if (settingsStrings[i2cdev] != "") {
|
if (settingsStrings[i2cdev] != "") {
|
||||||
LOG_INFO("Using %s as I2C device.\n", settingsStrings[i2cdev]);
|
LOG_INFO("Using %s as I2C device.\n", settingsStrings[i2cdev].c_str());
|
||||||
Wire.begin(settingsStrings[i2cdev].c_str());
|
Wire.begin(settingsStrings[i2cdev].c_str());
|
||||||
} else {
|
} else {
|
||||||
LOG_INFO("No I2C device configured, skipping.\n");
|
LOG_INFO("No I2C device configured, skipping.\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user