v1.12.0 #269
@ -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_);
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user