This commit is contained in:
parent
949401e247
commit
bd383cfe04
@ -622,26 +622,26 @@ ReturnValue_t PayloadPcduHandler::checkModeCommand(Mode_t commandedMode, Submode
|
||||
}
|
||||
|
||||
bool PayloadPcduHandler::ssrOnForSubmode(uint8_t submode) {
|
||||
return (submode & plpcdu::SOLID_STATE_RELAYS_ADC_ON) == plpcdu::SOLID_STATE_RELAYS_ADC_ON;
|
||||
return submode & (1 << plpcdu::SOLID_STATE_RELAYS_ADC_ON);
|
||||
}
|
||||
bool PayloadPcduHandler::droOnForSubmode(uint8_t submode) {
|
||||
return (submode & plpcdu::DRO_ON) == plpcdu::DRO_ON;
|
||||
return submode & (1 << plpcdu::DRO_ON);
|
||||
}
|
||||
|
||||
bool PayloadPcduHandler::x8OnForSubmode(uint8_t submode) {
|
||||
return (submode & plpcdu::X8_ON) == plpcdu::X8_ON;
|
||||
return submode & (1 << plpcdu::X8_ON);
|
||||
}
|
||||
|
||||
bool PayloadPcduHandler::txOnForSubmode(uint8_t submode) {
|
||||
return (submode & plpcdu::TX_ON) == plpcdu::TX_ON;
|
||||
return submode & (1 << plpcdu::TX_ON);
|
||||
}
|
||||
|
||||
bool PayloadPcduHandler::mpaOnForSubmode(uint8_t submode) {
|
||||
return (submode & plpcdu::MPA_ON) == plpcdu::MPA_ON;
|
||||
return submode & (1 << plpcdu::MPA_ON);
|
||||
}
|
||||
|
||||
bool PayloadPcduHandler::hpaOnForSubmode(uint8_t submode) {
|
||||
return (submode & plpcdu::HPA_ON) == plpcdu::HPA_ON;
|
||||
return submode & (1 << plpcdu::HPA_ON);
|
||||
}
|
||||
|
||||
ReturnValue_t PayloadPcduHandler::serializeFloat(uint32_t& param, float val) {
|
||||
|
Loading…
Reference in New Issue
Block a user