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:
parent
5b91ec41e3
commit
b380a343a6
5 changed files with 4 additions and 8 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue