Adds i2c device configuration to native (#3143)
This commit is contained in:
1 parent
417feee47f
commit
a49740cd56
6 files changed
+24
-3
No files matched your search
@@ -150,6 +150,9 @@ void portduinoSetup()
|
||||
settingsMap[has_gps] = 1;
|
||||
}
|
||||
}
|
||||
if (yamlConfig["I2C"]) {
|
||||
settingsStrings[i2cdev] = yamlConfig["I2C"]["I2CDevice"].as<std::string>("");
|
||||
}
|
||||
settingsMap[displayPanel] = no_screen;
|
||||
if (yamlConfig["Display"]) {
|
||||
if (yamlConfig["Display"]["Panel"].as<std::string>("") == "ST7789")
|
||||
|
||||
Reference in new issue
Block a user