updated function names
This commit is contained in:
parent
dacec0c1f6
commit
7122c37511
@ -77,12 +77,12 @@ constexpr uint16_t getSpacePacketIdFromApid(bool isTc, uint16_t apid,
|
|||||||
((apid >> 8) & 0x07)) << 8 | (apid & 0x00ff);
|
((apid >> 8) & 0x07)) << 8 | (apid & 0x00ff);
|
||||||
}
|
}
|
||||||
|
|
||||||
constexpr uint16_t getTcSpacketIdFromApid(uint16_t apid,
|
constexpr uint16_t getTcSpacePacketIdFromApid(uint16_t apid,
|
||||||
bool secondaryHeaderFlag = true) {
|
bool secondaryHeaderFlag = true) {
|
||||||
return getSpacePacketIdFromApid(true, apid, secondaryHeaderFlag);
|
return getSpacePacketIdFromApid(true, apid, secondaryHeaderFlag);
|
||||||
}
|
}
|
||||||
|
|
||||||
constexpr uint16_t getTmSpacketIdFromApid(uint16_t apid,
|
constexpr uint16_t getTmSpacePacketIdFromApid(uint16_t apid,
|
||||||
bool secondaryHeaderFlag = true) {
|
bool secondaryHeaderFlag = true) {
|
||||||
return getSpacePacketIdFromApid(false, apid, secondaryHeaderFlag);
|
return getSpacePacketIdFromApid(false, apid, secondaryHeaderFlag);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user