adafruit/Adafruit_ILI9340 — pull request #2 by bobh66 (2013-12-25 06:36:25+00:00)
Title: Update spitftbitmap.ino - read16/read32 should use a reference to the File object

read16 and read32 should use a reference to the File object rather than the object itself. On Yun the File/FileIO destructor causes the file to be closed when read16/read32 return so future read16/32 calls fail to read any data. Using a reference prevents the destructor from being called so the file stays open as expected.