Eliminated inefficient serial function calls at runtime.

This commit is contained in:
mikeller 2018-05-10 01:32:36 +12:00 committed by Diego Basch
parent b5521b927d
commit 4e54b1d1a5
1 changed files with 1 additions and 0 deletions

View File

@ -96,6 +96,7 @@ typedef struct __attribute__((packed)) {
struct serialPort_s;
typedef struct mspPort_s {
struct serialPort_s *port; // null when port unused.
bool sharedWithTelemetry;
timeMs_t lastActivityMs;
mspPendingSystemRequest_e pendingRequest;
mspState_e c_state;