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: DisplayDefs.h
- Revision:
- 79:544eb4964795
- Parent:
- 77:9206c13aa527
- Child:
- 81:01da2e34283d
--- a/DisplayDefs.h Sun Dec 28 03:14:35 2014 +0000
+++ b/DisplayDefs.h Sun Dec 28 19:55:16 2014 +0000
@@ -5,11 +5,12 @@
typedef uint16_t color_t;
-/// return values from functions
+/// return values from functions. Use this number, or use the
+/// lookup function to get a text string. @see GetErrorMessage.
+///
typedef enum
{
noerror, ///< no errors, command completed successfully
- no_touch = noerror,
bad_parameter, ///< one or more parameters are invalid
file_not_found, ///< specified file could not be found
not_bmp_format, ///< file is not a .bmp file
@@ -17,7 +18,7 @@
not_supported_format, ///< file format is not yet supported
image_too_big, ///< image is too large for the screen
not_enough_ram, ///< could not allocate ram for scanline
- touch,
+ LastErrCode, // Private marker.
} RetCode_t;
/// type that manages locations, which is typically an x or y pixel location,
