Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of RA8875 by
Diff: RA8875.cpp
- Revision:
- 74:686faa218914
- Parent:
- 73:f22a18707b5e
- Child:
- 75:ca78388cfd77
--- 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)