This commit is contained in:
2022-02-03 12:02:25 +01:00
parent f47101c388
commit 344390da14
7 changed files with 264 additions and 278 deletions

View File

@ -4,7 +4,8 @@
#include <fsfw/datapool/PoolReadGuard.h>
BpxBatteryHandler::BpxBatteryHandler(object_id_t objectId, object_id_t comIF, CookieIF* comCookie)
: DeviceHandlerBase(objectId, comIF, comCookie), hkSet(this), cfgSet(this) {}
: DeviceHandlerBase(objectId, comIF, comCookie), hkSet(this), cfgSet(this) {
}
BpxBatteryHandler::~BpxBatteryHandler() {}
@ -203,6 +204,9 @@ ReturnValue_t BpxBatteryHandler::interpretDeviceReply(DeviceCommandId_t id, cons
if (packet[0] != sentPingByte) {
return DeviceHandlerIF::INVALID_DATA;
}
if(mode == _MODE_START_UP) {
commandExecuted = true;
}
break;
}
case (BpxBattery::RESET_COUNTERS):