1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 12:55:19 +03:00

Show blackbox log number in OSD only when available.

This commit is contained in:
mikeller 2019-11-02 13:50:36 +13:00
parent 086c75b3bf
commit 53955a4a6b
6 changed files with 27 additions and 14 deletions

View file

@ -423,7 +423,7 @@ extern "C" {
int32_t getMAhDrawn() { return 0; }
int32_t getEstimatedAltitudeCm() { return 0; }
int32_t getEstimatedVario() { return 0; }
unsigned int blackboxGetLogNumber() { return 0; }
int32_t blackboxGetLogNumber() { return 0; }
bool isBlackboxDeviceWorking() { return true; }
bool isBlackboxDeviceFull() { return false; }
serialPort_t *openSerialPort(serialPortIdentifier_e, serialPortFunction_e, serialReceiveCallbackPtr, void *, uint32_t, portMode_e, portOptions_e) {return NULL;}