mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #11259 from JanneKiiskila/fatfs-iar
FATFS / IAR compilation issue Pe029pull/11307/head
commit
c4711c16b7
features/storage/filesystem/fat
|
@ -1,5 +1,5 @@
|
|||
/* mbed Microcontroller Library
|
||||
* Copyright (c) 2006-2012 ARM Limited
|
||||
* Copyright (c) 2006-2019 ARM Limited
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -280,9 +280,8 @@ extern "C" DRESULT disk_ioctl(BYTE pdrv, BYTE cmd, void *buff)
|
|||
|
||||
// Filesystem implementation (See FATFilySystem.h)
|
||||
FATFileSystem::FATFileSystem(const char *name, BlockDevice *bd)
|
||||
: FileSystem(name), _id(-1)
|
||||
: FileSystem(name), _fs(), _id(-1)
|
||||
{
|
||||
_fs = { 0 };
|
||||
if (bd) {
|
||||
mount(bd);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue