formatting

This commit is contained in:
John
2023-01-06 12:31:29 +01:00
parent 672dae22e7
commit b42b798e54
2 changed files with 6 additions and 4 deletions
+2 -1
View File
@@ -1078,7 +1078,8 @@ result_t loadDefinitionsFromConfigPath(FileReader* reader, const string& filenam
stream = FileReader::openFile(s_configLocalPrefix + filename, errorDescription, &mtime);
} else {
string content;
if (lazyHttpClient() && s_configHttpClient->get(s_configUriPrefix + filename + s_configLangQuery, "", &content, &mtime)) {
if (lazyHttpClient()
&& s_configHttpClient->get(s_configUriPrefix + filename + s_configLangQuery, "", &content, &mtime)) {
stream = new istringstream(content);
}
}
+2 -1
View File
@@ -256,7 +256,8 @@ string Device::getEnhancedInfos() {
if (res != RESULT_OK) {
m_enhInfoBusVoltage = "bus voltage unknown";
}
return "firmware " + m_enhInfoVersion + ", " + m_enhInfoTemperature + ", " + m_enhInfoSupplyVoltage + ", " + m_enhInfoBusVoltage;
return "firmware " + m_enhInfoVersion + ", " + m_enhInfoTemperature + ", " + m_enhInfoSupplyVoltage + ", "
+ m_enhInfoBusVoltage;
}
result_t Device::send(symbol_t value) {