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

Update SDCARD driver for generic target

remove enabled PG paramter
This commit is contained in:
MJ666 2018-10-03 00:34:15 +02:00
parent 5b91ec41e3
commit b380a343a6
5 changed files with 4 additions and 8 deletions

View file

@ -635,7 +635,7 @@ void init(void)
#ifdef USE_SDCARD
if (blackboxConfig()->device == BLACKBOX_DEVICE_SDCARD) {
if (sdcardConfig()->enabled) {
if (sdcardConfig()->mode) {
sdcardInsertionDetectInit();
sdcard_init(sdcardConfig());
afatfs_init();