Elimate non-text output for Portduino

This commit is contained in:
Jonathan Bennett
2024-05-06 20:56:59 -05:00
parent 2c99f11073
commit c009c0db1e
2 changed files with 3 additions and 1 deletions

View File

@@ -344,7 +344,7 @@ void setup()
Wire.begin(I2C_SDA, I2C_SCL);
#elif defined(ARCH_PORTDUINO)
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());
} else {
LOG_INFO("No I2C device configured, skipping.\n");