1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 14:25:20 +03:00

improve status check for serial logging device

This commit is contained in:
Kiripolszky Károly 2018-08-19 11:21:07 +02:00
parent 75bcafb0f4
commit c70af5aaf0

View file

@ -546,7 +546,7 @@ bool isBlackboxDeviceWorking(void)
{
switch (blackboxConfig()->device) {
case BLACKBOX_DEVICE_SERIAL:
return true;
return blackboxPort != NULL;
#ifdef USE_SDCARD
case BLACKBOX_DEVICE_SDCARD: