Skip to content

Commit 622d837

Browse files
committed
Added close method to PImage
1 parent 2a912ba commit 622d837

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)