enable periodic reply for eie RTD
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 17:25:06 +02:00
parent 2c684643b3
commit 8715683d6b
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814
3 changed files with 10 additions and 1 deletions

2
fsfw

@ -1 +1 @@
Subproject commit c0ff84bb9d81bc3444992fef38b74d260d54d5a0 Subproject commit 4841d5d92d721383e92b521b584c7d0e62c9873d

View File

@ -145,3 +145,11 @@ void Max31865EiveHandler::setDeviceInfo(uint8_t idx_, std::string location_) {
idx = idx_; idx = idx_;
locString = std::move(location_); locString = std::move(location_);
} }
ReturnValue_t Max31865EiveHandler::initialize() {
auto result = DeviceHandlerBase::initialize();
if(result != RETURN_OK) {
return result;
}
return updatePeriodicReply(true, EiveMax31855::RtdCommands::EXCHANGE_SET_ID);
}

View File

@ -26,6 +26,7 @@ class Max31865EiveHandler : public DeviceHandlerBase {
uint32_t getTransitionDelayMs(Mode_t modeFrom, Mode_t modeTo) override; uint32_t getTransitionDelayMs(Mode_t modeFrom, Mode_t modeTo) override;
ReturnValue_t initializeLocalDataPool(localpool::DataPool& localDataPoolMap, ReturnValue_t initializeLocalDataPool(localpool::DataPool& localDataPoolMap,
LocalDataPoolManager& poolManager) override; LocalDataPoolManager& poolManager) override;
ReturnValue_t initialize() override;
void simpleCommand(EiveMax31855::RtdCommands cmd); void simpleCommand(EiveMax31855::RtdCommands cmd);
std::array<uint8_t, 12> cmdBuf = {}; std::array<uint8_t, 12> cmdBuf = {};