Eliminated inefficient serial function calls at runtime.
This commit is contained in:
parent
b5521b927d
commit
4e54b1d1a5
|
@ -96,6 +96,7 @@ typedef struct __attribute__((packed)) {
|
||||||
struct serialPort_s;
|
struct serialPort_s;
|
||||||
typedef struct mspPort_s {
|
typedef struct mspPort_s {
|
||||||
struct serialPort_s *port; // null when port unused.
|
struct serialPort_s *port; // null when port unused.
|
||||||
|
bool sharedWithTelemetry;
|
||||||
timeMs_t lastActivityMs;
|
timeMs_t lastActivityMs;
|
||||||
mspPendingSystemRequest_e pendingRequest;
|
mspPendingSystemRequest_e pendingRequest;
|
||||||
mspState_e c_state;
|
mspState_e c_state;
|
||||||
|
|
Loading…
Reference in New Issue