formatting
This commit is contained in:
+2
-1
@@ -1078,7 +1078,8 @@ result_t loadDefinitionsFromConfigPath(FileReader* reader, const string& filenam
|
|||||||
stream = FileReader::openFile(s_configLocalPrefix + filename, errorDescription, &mtime);
|
stream = FileReader::openFile(s_configLocalPrefix + filename, errorDescription, &mtime);
|
||||||
} else {
|
} else {
|
||||||
string content;
|
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);
|
stream = new istringstream(content);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -256,7 +256,8 @@ string Device::getEnhancedInfos() {
|
|||||||
if (res != RESULT_OK) {
|
if (res != RESULT_OK) {
|
||||||
m_enhInfoBusVoltage = "bus voltage unknown";
|
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) {
|
result_t Device::send(symbol_t value) {
|
||||||
|
|||||||
Reference in New Issue
Block a user