DeviceReplyMap: periodic member is uint8_t #87
Labels
No Label
API Change
Breaking API Change
bug
build
cosmetics
Documentation
duplicate
feature
help wanted
hotfix
invalid
question
Refactor
Tests
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: fsfw/fsfw#87
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Is there a specific reason why periodic is a
uint8_t
instead of abool
ean variable?Same question also for
PoolVariableIF
valid member. Why not just make it boolean (which propably also makes the definitions VALID and INVALID obsolete) ? If uint8_t are required, a getter function for uint8_t could be used (even casting isnt necessary).DeviceReplyMap: periodic member is `uint8_t`to DeviceReplyMap: periodic member is uint8_tAs written in #111, I think
DHB::DeviceReplyInfo::periodic
would be better asbool
.As for the
PoolVariableIF
valid member, maybe in the future there will be different kinds of valid, so I would keep it for now.While technically 1 and 0 as used currently can be cast to bool, I would suggest updating user code. Added API Change label.
I think I integrated this already in the current state for the local data pools, but propably not in the current request.. But I think it would be a good idea to integrate the current request #44 first.
was merged when DHB refactoring was merged