Add CCSDS handler modes #352
@ -378,7 +378,7 @@ void CcsdsIpCoreHandler::startTransition(Mode_t mode, Submode_t submode) {
|
|||||||
mode = HasModesIF::MODE_ON;
|
mode = HasModesIF::MODE_ON;
|
||||||
}
|
}
|
||||||
} else if (submode == static_cast<Submode_t>(Submode::DATARATE_LOW)) {
|
} else if (submode == static_cast<Submode_t>(Submode::DATARATE_LOW)) {
|
||||||
ReturnValue_t result = ptmeConfig->setRate(RATE_500KBPS);
|
ReturnValue_t result = ptmeConfig->setRate(RATE_100KBPS);
|
||||||
muellerr marked this conversation as resolved
Outdated
|
|||||||
if (result == returnvalue::OK) {
|
if (result == returnvalue::OK) {
|
||||||
mode = HasModesIF::MODE_ON;
|
mode = HasModesIF::MODE_ON;
|
||||||
}
|
}
|
||||||
|
@ -138,7 +138,7 @@ class CcsdsIpCoreHandler : public SystemObject,
|
|||||||
ParameterHelper parameterHelper;
|
ParameterHelper parameterHelper;
|
||||||
|
|
||||||
ActionHelper actionHelper;
|
ActionHelper actionHelper;
|
||||||
Mode_t mode;
|
Mode_t mode = HasModesIF::MODE_OFF;
|
||||||
muellerr marked this conversation as resolved
Outdated
meierj
commented
I think mode should be initialized somewhere. Either here or in the constructor I think mode should be initialized somewhere. Either here or in the constructor
muellerr
commented
good spot 2. must have overlooked the warning.. good spot 2. must have overlooked the warning..
|
|||||||
Submode_t submode = static_cast<Submode_t>(Submode::UNSET);
|
Submode_t submode = static_cast<Submode_t>(Submode::UNSET);
|
||||||
ModeHelper modeHelper;
|
ModeHelper modeHelper;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user
I think the rate should be set to 100 kbps here
good spot