Internal and external module buffers are now private
This commit is contained in:
committed by
Raphael Coeffic
parent
ab6033e4d5
commit
f952c5f7c7
@@ -62,5 +62,8 @@ struct etx_module_driver_t {
|
||||
|
||||
// Send the pulses
|
||||
void (*sendPulses)(void* context);
|
||||
|
||||
// Fetch telemetry byte
|
||||
int (*getByte)(void* context, uint8_t* data);
|
||||
};
|
||||
|
||||
|
||||
@@ -75,6 +75,9 @@ typedef struct {
|
||||
// Fetch byte from internal buffer
|
||||
int (*getByte)(void* ctx, uint8_t* data);
|
||||
|
||||
// Clear internal buffer
|
||||
void (*clearRxBuffer)(void* ctx);
|
||||
|
||||
// Get current baudrate
|
||||
uint32_t (*getBaudrate)(void*);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user