some renaming
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good

This commit is contained in:
Robin Müller 2022-05-13 15:16:10 +02:00
parent 44e7f06c2e
commit 3ae1812c32
2 changed files with 4 additions and 4 deletions

View File

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

View File

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