higher default MQ depth for events, printout tweak

This commit is contained in:
Robin Müller 2022-11-03 10:33:52 +01:00
parent 9a0cc64be3
commit e5b5c7d253
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC
2 changed files with 3 additions and 3 deletions

View File

@ -42,7 +42,7 @@
class Service5EventReporting : public PusServiceBase { class Service5EventReporting : public PusServiceBase {
public: public:
Service5EventReporting(PsbParams params, size_t maxNumberReportsPerCycle = 10, Service5EventReporting(PsbParams params, size_t maxNumberReportsPerCycle = 10,
uint32_t messageQueueDepth = 10); uint32_t messageQueueDepth = 20);
~Service5EventReporting() override; ~Service5EventReporting() override;
/*** /***

View File

@ -27,8 +27,8 @@ ReturnValue_t PusServiceBase::performOperation(uint8_t opCode) {
ReturnValue_t result = performService(); ReturnValue_t result = performService();
if (result != returnvalue::OK) { if (result != returnvalue::OK) {
#if FSFW_CPP_OSTREAM_ENABLED == 1 #if FSFW_CPP_OSTREAM_ENABLED == 1
sif::error << "PusService " << psbParams.serviceId << ": performService returned with " sif::error << "PusService " << static_cast<int>(psbParams.serviceId) <<
<< static_cast<uint16_t>(result) << std::endl; ": performService returned with " << static_cast<uint16_t>(result) << std::endl;
#endif #endif
return returnvalue::FAILED; return returnvalue::FAILED;
} }