Guillermo Stedile / RA8875

Dependencies:   GPS

Dependents:   SNOCC_V1 SNOCC_V2

Fork of RA8875 by SNOCC

Files at this revision

API Documentation at this revision

Comitter:
WiredHome
Date:
Sat Jan 23 16:58:54 2016 +0000
Parent:
101:e0aad446094a
Child:
103:7e0464ca6c5c
Commit message:
Small change to the color and the on-screen sample.

Changed in this revision

RA8875.h Show annotated file Show diff for this revision Revisions of this file
--- a/RA8875.h	Sun Jan 17 22:16:37 2016 +0000
+++ b/RA8875.h	Sat Jan 23 16:58:54 2016 +0000
@@ -1911,11 +1911,11 @@
     /// BMP file to be created is passed to this callback.
     /// 
     /// @param object is the class hosting the callback function.
-    /// @param callback is the callback function.
+    /// @param method is the callback method in the object to activate.
     ///
     template <class T>
-    void AttachPrintHandler(T *object, RetCode_t (T::*member)(void)) { 
-        obj_callback    = (FPointerDummy *)item; 
+    void AttachPrintHandler(T *object, RetCode_t (T::*method)(void)) { 
+        obj_callback    = (FPointerDummy *)object; 
         method_callback = (uint32_t (FPointerDummy::*)(uint32_t))method;
     }