Skip to content

Commit 549e1d8

Browse files
committed
Merge pull request #2360 from sngl/ide-1.5.x-TFT-PImage-close
Added close method to PImage
2 parents 2a912ba + 622d837 commit 549e1d8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libraries/TFT/src/utility/PImage.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ class PImage {
2323

2424
static PImage loadImage(const char * fileName);
2525

26+
void close() { _bmpFile.close(); }
2627

2728
bool isValid() { return _valid; }
2829

0 commit comments

Comments
 (0)