KSM edits to RA8875

Dependents:   Liz_Test_Code

Revision:
88:bfddef6ec836
Parent:
87:ee2240581aa7
Child:
90:d113d71ae4f0
--- a/RA8875.h	Mon Jan 19 13:32:56 2015 +0000
+++ b/RA8875.h	Mon Jan 19 15:44:41 2015 +0000
@@ -638,9 +638,12 @@
     /// @param[out] matrix is an optional parameter to hold the calibration matrix 
     ///             as a result of the calibration. This can be saved in  
     ///             non-volatile memory to recover the calibration after a power fail.
+    /// @param[in] maxwait_s is the maximum number of seconds to wait for a touch
+    ///             calibration. If no touch panel installed, it then reports
+    ///             touch_cal_timeout.
     /// @returns success/failure code. @see RetCode_t.
     ///
-    RetCode_t TouchPanelCalibrate(const char * msg, tpMatrix_t * matrix = NULL);
+    RetCode_t TouchPanelCalibrate(const char * msg, tpMatrix_t * matrix = NULL, int maxwait_s = 15);
 
     /// Set the calibration matrix for the touch panel.
     ///