Make OBSW compatible to prospective FW v5.0.0 #734

Merged
muellerr merged 4 commits from tmp-devs-to-q7-i2c into main 2023-07-10 11:19:37 +02:00
Showing only changes of commit 268f10ced5 - Show all commits

View File

@ -173,7 +173,7 @@ void ObjectFactory::createTmpComponents(
for (size_t idx = 0; idx < tmpDevsToAdd.size(); idx++) {
tmpDevCookies.push_back(
new I2cCookie(tmpDevsToAdd[idx].second, TMP1075::MAX_REPLY_LENGTH, i2cDev));
new I2cCookie(tmpDevsToAdd[idx].second, TMP1075::MAX_REPLY_LENGTH, tmpI2cDev));
auto* tmpDevHandler =
new Tmp1075Handler(tmpDevsToAdd[idx].first, objects::I2C_COM_IF, tmpDevCookies[idx]);
tmpDevHandler->setCustomFdir(new TmpDevFdir(tmpDevsToAdd[idx].first));