Skip to content

Commit 626eb6a

Browse files
committed
Fix hardware/1Wire/1WireByOWFS.cpp compilation issue
1 parent 314b38f commit 626eb6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hardware/1Wire/1WireByOWFS.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ float C1WireByOWFS::GetTemperature(const _t1WireDevice& device) const
218218

219219
if (m_mainworker.GetVerboseLevel() == EVBL_DEBUG)
220220
{
221-
_log.Log(LOG_STATUS, "1Wire (OWFS): Get Temperature from %s = %s", device.filename, readValue);
221+
_log.Log(LOG_STATUS, "1Wire (OWFS): Get Temperature from %s = %s", device.filename.c_str(), readValue.c_str());
222222
}
223223

224224
if (readValue.empty())

0 commit comments

Comments
 (0)