Forked para SNOCC
Fork of RA8875 by
Diff: RA8875.h
- Revision:
- 102:fc60bfa0199f
- Parent:
- 101:e0aad446094a
- Child:
- 103:7e0464ca6c5c
--- 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; }