added ramp time
This commit is contained in:
parent
c2079dcbba
commit
01d6060111
@ -244,6 +244,7 @@ uint32_t RwHandler::getTransitionDelayMs(Mode_t modeFrom, Mode_t modeTo) { retur
|
|||||||
ReturnValue_t RwHandler::initializeLocalDataPool(localpool::DataPool& localDataPoolMap,
|
ReturnValue_t RwHandler::initializeLocalDataPool(localpool::DataPool& localDataPoolMap,
|
||||||
LocalDataPoolManager& poolManager) {
|
LocalDataPoolManager& poolManager) {
|
||||||
localDataPoolMap.emplace(RwDefinitions::RW_SPEED, &rwSpeed);
|
localDataPoolMap.emplace(RwDefinitions::RW_SPEED, &rwSpeed);
|
||||||
|
localDataPoolMap.emplace(RwDefinitions::RAMP_TIME, &rampTime);
|
||||||
|
|
||||||
localDataPoolMap.emplace(RwDefinitions::TEMPERATURE_C, new PoolEntry<int32_t>({0}));
|
localDataPoolMap.emplace(RwDefinitions::TEMPERATURE_C, new PoolEntry<int32_t>({0}));
|
||||||
|
|
||||||
|
@ -97,6 +97,7 @@ class RwHandler : public DeviceHandlerBase {
|
|||||||
uint8_t commandBuffer[RwDefinitions::MAX_CMD_SIZE];
|
uint8_t commandBuffer[RwDefinitions::MAX_CMD_SIZE];
|
||||||
|
|
||||||
PoolEntry<int32_t> rwSpeed = PoolEntry<int32_t>(0, false);
|
PoolEntry<int32_t> rwSpeed = PoolEntry<int32_t>(0, false);
|
||||||
|
PoolEntry<uint16_t> rampTime = PoolEntry<uint16_t>(10, false);
|
||||||
|
|
||||||
enum class InternalState { GET_RESET_STATUS, CLEAR_RESET_STATUS, READ_TEMPERATURE, GET_RW_SATUS };
|
enum class InternalState { GET_RESET_STATUS, CLEAR_RESET_STATUS, READ_TEMPERATURE, GET_RW_SATUS };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user