Skip to content

Commit d56df88

Browse files
committed
remove deprecation
1 parent 39faf9f commit d56df88

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

libraries/Adafruit_LittleFS/src/Adafruit_LittleFS_File.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,6 @@ bool File::_open_dir (char const *filepath)
110110
return true;
111111
}
112112

113-
// TODO: wrap close() because it must be called by open()
114-
// TODO: wrap open() because it is called by openNextFile()
115-
116113
bool File::open (char const *filepath, uint8_t mode)
117114
{
118115
bool ret = false;
@@ -308,7 +305,6 @@ void File::_close(void)
308305
}
309306
}
310307

311-
[[deprecated("Recommend use of isOpen() for clarity")]]
312308
File::operator bool (void)
313309
{
314310
bool ret = false;

libraries/Adafruit_LittleFS/src/Adafruit_LittleFS_File.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ class File : public Stream
7676

7777
void close (void);
7878

79-
__attribute__((deprecated("Recommend use of isOpen() for clarity")))
8079
operator bool (void);
8180

8281
bool isOpen(void);

0 commit comments

Comments
 (0)