Refactor AVCLAN_parseframe call signature to avoid dynamic allocs

This commit is contained in:
Allen Hill
2026-05-05 20:35:05 -07:00
parent 9b2c71fa6e
commit c904bc2c89
3 changed files with 45 additions and 30 deletions
+2 -1
View File
@@ -205,7 +205,8 @@ inline uint8_t AVCLAN_responseNeeded() { return (answerReq != 0) || !qEmpty(); }
uint8_t AVCLAN_respond();
void AVCLAN_printframe(const AVCLAN_frame_t *frame, uint8_t binary);
AVCLAN_frame_t *AVCLAN_parseframe(const uint8_t *bytes, uint8_t len);
uint8_t AVCLAN_parseframe(const uint8_t *bytes, uint8_t len,
AVCLAN_frame_t *frame);
#ifdef SOFTWARE_DEBUG
void AVCLan_Measure();