Open evanmayer opened 2 years ago
Possible synergy with EVTM overhaul - if all non-pilot TM outputs will now be sent to multicast addresses rather than packetized and sent in a bespoke manner, there will be even more duplicate code, and more reason to reduce it.
Task
Skimming
./mcp/communications/pilot.c
and./mcp/communications/highrate.c
revealed code that is similar in*_compress_and_send()
, despite not being picked up by similarity analysis tools. This suggests it is a candidate for refactoring to reduce duplicate code. Determine if the similarity is sufficient to functionalize the similar parts.Acceptance
If not similar enough to make a neat refactored function, the issue is closed. If it seems tenable, make a new follow-on issue to encompass the effort.
Details
Treat this issue as a "spike," if you know what that is. Don't spend longer than a day on it.