Updated standard library
Diff: RA8875.cpp
- Revision:
- 154:ad2450fc3dc3
- Parent:
- 153:8a85efb3eb71
- Child:
- 155:b3f225ae572c
--- a/RA8875.cpp Sun Jul 29 00:32:51 2018 +0000 +++ b/RA8875.cpp Fri Aug 17 01:29:06 2018 +0000 @@ -142,7 +142,7 @@ // Interrupt m_irq->mode(PullUp); m_irq->enable_irq(); - #if MBED_LIBRARY_VERSION >= 128 // a new callback declaration strategy in v128 + #if (MBED_MAJOR_VERSION >= 5) || (MBED_LIBRARY_VERSION > 128) // Is this the right version? m_irq->fall(callback(this, &RA8875::TouchPanelISR)); #else m_irq->fall(this, &RA8875::TouchPanelISR); @@ -155,6 +155,7 @@ //{ //} + RetCode_t RA8875::init(int width, int height, int color_bpp, uint8_t poweron, bool keypadon, bool touchscreenon) { font = NULL; // no external font, use internal.