Increased SPI frequency from 5Mhz to 10MHz
Fork of RA8875 by
Diff: RA8875.cpp
- Revision:
- 74:686faa218914
- Parent:
- 73:f22a18707b5e
- Child:
- 75:ca78388cfd77
diff -r f22a18707b5e -r 686faa218914 RA8875.cpp --- a/RA8875.cpp Sun Nov 09 18:52:46 2014 +0000 +++ b/RA8875.cpp Sun Nov 09 20:38:49 2014 +0000 @@ -1451,6 +1451,11 @@ RetCode_t RA8875::PrintScreen(uint16_t layer, loc_t x, loc_t y, dim_t w, dim_t h, const char *Name_BMP) { + #if 1 + (void)layer; + return PrintScreen(x, y, w, h, Name_BMP); + #else + // This is the deprecated interface and with the changes it is no longer implemented correctly. uint16_t curLayer = GetDrawingLayer(); RetCode_t ret = SelectDrawingLayer(layer); if (ret == noerror) { @@ -1458,6 +1463,7 @@ } SelectDrawingLayer(curLayer); return ret; + #endif } RetCode_t RA8875::PrintScreen(loc_t x, loc_t y, dim_t w, dim_t h, const char *Name_BMP)