Skip to content

Commit c4711c1

Browse files
authored
Merge pull request #11259 from JanneKiiskila/fatfs-iar
FATFS / IAR compilation issue Pe029
2 parents cf6fbda + f149b4c commit c4711c1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

features/storage/filesystem/fat/FATFileSystem.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mbed Microcontroller Library
2-
* Copyright (c) 2006-2012 ARM Limited
2+
* Copyright (c) 2006-2019 ARM Limited
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
55
* 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)
280280

281281
// Filesystem implementation (See FATFilySystem.h)
282282
FATFileSystem::FATFileSystem(const char *name, BlockDevice *bd)
283-
: FileSystem(name), _id(-1)
283+
: FileSystem(name), _fs(), _id(-1)
284284
{
285-
_fs = { 0 };
286285
if (bd) {
287286
mount(bd);
288287
}

0 commit comments

Comments
 (0)