1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-26 01:35:41 +03:00

Refactoring of rxFrameTimeUs

This commit is contained in:
Štěpán Dalecký 2021-09-27 21:08:42 +02:00
parent 1ceff68a00
commit fcd41eb28b
16 changed files with 35 additions and 82 deletions

View file

@ -361,4 +361,5 @@ void crsfScheduleMspResponse(void) {};
bool bufferMspFrame(uint8_t *, int) {return true;}
bool isBatteryVoltageAvailable(void) { return true; }
bool isAmperageAvailable(void) { return true; }
timeUs_t rxFrameTimeUs(void) { return 0; }
}

View file

@ -44,6 +44,7 @@ extern "C" {
int16_t telemTemperature1 = 0;
baro_t baro = { .baroTemperature = 50 };
telemetryConfig_t telemetryConfig_System;
timeUs_t rxFrameTimeUs(void) { return 0; }
}

View file

@ -43,6 +43,7 @@ extern "C" {
int16_t telemTemperature1 = 0;
baro_t baro = { .baroTemperature = 50 };
telemetryConfig_t telemetryConfig_System;
timeUs_t rxFrameTimeUs(void) { return 0; }
}

View file

@ -317,4 +317,5 @@ extern "C" {
return true;
}
timeUs_t rxFrameTimeUs(void) { return 0; }
}

View file

@ -377,5 +377,5 @@ bool handleMspFrame(uint8_t *, int, uint8_t *) { return false; }
void crsfScheduleMspResponse(void) {};
bool isBatteryVoltageConfigured(void) { return true; }
bool isAmperageConfigured(void) { return true; }
timeUs_t rxFrameTimeUs(void) { return 0; }
}