Updated standard library

Revision:
143:e872d65a710d
Parent:
142:6e9bff59878a
Child:
144:ba002c4b21b3
--- a/RA8875.h	Sun Mar 19 21:41:24 2017 +0000
+++ b/RA8875.h	Sun Mar 19 22:11:04 2017 +0000
@@ -564,9 +564,12 @@
     ///
     /// @param[in] layer is 0 or 1 to select the layer for subsequent 
     ///     commands.
-    /// @returns the previous drawing layer; 0 or 1.
-    ///
-    virtual uint16_t SelectDrawingLayer(uint16_t layer);
+    /// @param[out] prevLayer is an optiona pointer to where the previous layer
+    ///     will be written, making it a little easer to restore layers.
+    ///     Writes 0 or 1 when the pointer is not NULL.
+    /// @returns success/failure code. See @ref RetCode_t.
+    ///
+    virtual RetCode_t SelectDrawingLayer(uint16_t layer, uint16_t * prevLayer = NULL);
  
     
     /// Get the currently active drawing layer.