perf: Process CRSF telemetry by frame (#4038)

Co-authored-by: 3djc <lesitewebdejc@hotmail.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
This commit is contained in:
Raphael Coeffic
2023-10-19 13:31:30 +10:00
committed by GitHub
co-authored by 3djc Peter Feerick
parent eaabb2ce97
commit c93695eeaa
31 changed files with 418 additions and 169 deletions
+3
View File
@@ -56,6 +56,9 @@ struct etx_proto_driver_t {
// Process input data byte (telemetry)
void (*processData)(void* ctx, uint8_t data, uint8_t* buffer, uint8_t* len);
// Process input data byte (telemetry)
void (*processFrame)(void* ctx, uint8_t* frame, uint8_t flen, uint8_t* buf, uint8_t* len);
// Some module settings may have been modified
void (*onConfigChange)(void* ctx);