Fix blackbox compile bug on targets without flash

This commit is contained in:
Nicholas Sherlock 2015-02-24 10:19:11 +13:00
parent ff28846829
commit aae9141120
1 changed files with 2 additions and 0 deletions

View File

@ -509,9 +509,11 @@ void blackboxDeviceClose(void)
mspAllocateSerialPorts(&masterConfig.serialConfig);
}
break;
#ifdef USE_FLASHFS
case BLACKBOX_DEVICE_FLASH:
// No-op since the flash doesn't have a "close" and there's nobody else to hand control of it to.
break;
#endif
}
}