fdir update #158

Merged
gaisser merged 6 commits from KSat/fsfw:mueller/devices/FDIR into master 2020-09-01 12:21:51 +02:00
Owner

General improvements.
Using objects::NO_OBJECT instead of 0 and MessageQueueIF::NO_QUEUE instead of 0.

General improvements. Using objects::NO_OBJECT instead of 0 and MessageQueueIF::NO_QUEUE instead of 0.
muellerr added the
feature
label 2020-08-08 13:32:11 +02:00
gaisser reviewed 2020-08-13 19:35:15 +02:00
@ -31,2 +31,4 @@
bool hasPowerConfirmation = false;
MessageQueueId_t powerConfirmation;
static object_id_t powerConfirmationId;
// TODO: Are those hardcoded value? How can they be changed.
Owner

These values are used to initialize the defaults. Can be overwritten by child implementations.

These values are used to initialize the defaults. Can be overwritten by child implementations.
Author
Owner

ahhh that makes sense. maybe put DEFAULT_ in name to make it more explicit?

ahhh that makes sense. maybe put DEFAULT_ in name to make it more explicit?
gaisser reviewed 2020-08-25 13:54:15 +02:00
@ -166,1 +172,3 @@
return RETURN_FAILED;
if (power != nullptr) {
powerConfirmation = power->getEventReceptionQueue();
hasPowerConfirmation = true;
Owner

Can we avoid the aditional bool by checking powerConfirmation != NO_QUEUE?

Can we avoid the aditional bool by checking powerConfirmation != NO_QUEUE?
Author
Owner

Yeah it's better like that.

Yeah it's better like that.
gaisser merged commit e77c294360 into master 2020-09-01 12:21:49 +02:00
gaisser deleted branch mueller/devices/FDIR 2020-09-01 12:21:54 +02:00
Sign in to join this conversation.
No description provided.