1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00

Merge pull request #11223 from hydra/fix-elrs-unit-test

ExpressLRS - Fix compilation of unit test.
This commit is contained in:
haslinghuis 2022-01-04 21:25:05 +01:00 committed by GitHub
commit c2982eed40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -98,7 +98,10 @@ typedef struct eprState_s {
bool eventRecorded[EPR_EVENT_COUNT];
} eprState_t;
eprState_t eprState = {0};
eprState_t eprState = {
.eventAtUs = {0},
.eventRecorded = {0},
};
static void expressLrsEPRRecordEvent(eprEvent_e event, uint32_t currentTimeUs)
{