You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I performed a cursory search to see if the bug report is relevant, not redundant, nor in conflict with other tickets.
Code snips
While checking out the most recent version of the CF repository to test with a custom file sending application, I ran into this line while trying to figure out why NAK's were acting strangely:
Shouldn't it look moreso like this? There are other lines referencing the CF_PDU_MAX_TLV macro, but those compare against the plseg->num_tlv struct member. When I modified it to this in my instance of cFS, all CFDP functions worked as expected:
if (plseg->num_segments >= CF_PDU_MAX_SEGMENTS)
The text was updated successfully, but these errors were encountered:
Checklist (Please check before submitting)
Code snips
While checking out the most recent version of the CF repository to test with a custom file sending application, I ran into this line while trying to figure out why NAK's were acting strangely:
CF/fsw/src/cf_codec.c
Line 1127 in 19c18b9
Shouldn't it look moreso like this? There are other lines referencing the
CF_PDU_MAX_TLV
macro, but those compare against theplseg->num_tlv
struct member. When I modified it to this in my instance of cFS, all CFDP functions worked as expected:The text was updated successfully, but these errors were encountered: