fix(radio): race condition on pulse buffer (#6634)
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
enum ChannelsProtocols {
|
||||
PROTOCOL_CHANNELS_UNINITIALIZED,
|
||||
@@ -62,6 +63,9 @@ struct etx_proto_driver_t {
|
||||
// Some module settings may have been modified
|
||||
void (*onConfigChange)(void* ctx);
|
||||
|
||||
// Previous Frame already sent?
|
||||
bool (*txCompleted)(void* ctx);
|
||||
|
||||
// Module state mode has been modified
|
||||
// void (*onModeChange)(void* ctx, uint8_t old_mode, uint8_t new_mode);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user