mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 14:55:21 +03:00
improve status check for serial logging device
This commit is contained in:
parent
75bcafb0f4
commit
c70af5aaf0
1 changed files with 1 additions and 1 deletions
|
@ -546,7 +546,7 @@ bool isBlackboxDeviceWorking(void)
|
||||||
{
|
{
|
||||||
switch (blackboxConfig()->device) {
|
switch (blackboxConfig()->device) {
|
||||||
case BLACKBOX_DEVICE_SERIAL:
|
case BLACKBOX_DEVICE_SERIAL:
|
||||||
return true;
|
return blackboxPort != NULL;
|
||||||
|
|
||||||
#ifdef USE_SDCARD
|
#ifdef USE_SDCARD
|
||||||
case BLACKBOX_DEVICE_SDCARD:
|
case BLACKBOX_DEVICE_SDCARD:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue