RTD Update #251

Merged
meierj merged 36 commits from mueller/rtds-update into develop 2022-05-23 16:20:38 +02:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit 3ae1812c32 - Show all commits

View File

@ -86,7 +86,7 @@ void Max31865EiveHandler::setInstantNormal(bool instantNormal) {
}
void Max31865EiveHandler::simpleCommand(EiveMax31855::RtdCommands cmd) {
cmdBuf[0] = cmd;
cmdBuf[0] = static_cast<uint8_t>(cmd);
rawPacket = cmdBuf.data();
rawPacketLen = 1;
}
@ -140,7 +140,7 @@ ReturnValue_t Max31865EiveHandler::initializeLocalDataPool(localpool::DataPool&
return RETURN_OK;
}
void Max31865EiveHandler::setDeviceInfo(uint8_t idx_, std::string locString_) {
void Max31865EiveHandler::setDeviceInfo(uint8_t idx_, std::string locaction_) {
idx = idx_;
locString = std::move(locString_);
locString = std::move(locaction_);
}

View File

@ -9,7 +9,7 @@ class Max31865EiveHandler : public DeviceHandlerBase {
public:
Max31865EiveHandler(object_id_t objectId, object_id_t comIF, CookieIF* comCookie);
void setInstantNormal(bool instantNormal);
void setDeviceInfo(uint8_t idx, std::string locString);
void setDeviceInfo(uint8_t idx, std::string location);
private:
void doStartUp() override;