Merge pull request from JanneKiiskila/fatfs-iar

FATFS / IAR compilation issue Pe029
pull/11307/head
Martin Kojtal 2019-08-23 10:19:54 +02:00 committed by GitHub
commit c4711c16b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions
features/storage/filesystem/fat

View File

@ -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);
}