Graphics Drawing Interface EZLCD4 display using serial
Diff: gdiezl4.cpp
- Revision:
- 1:683ac9b65344
- Parent:
- 0:607ac6f9ce7a
diff -r 607ac6f9ce7a -r 683ac9b65344 gdiezl4.cpp --- a/gdiezl4.cpp Mon Mar 14 15:58:13 2011 +0000 +++ b/gdiezl4.cpp Mon Mar 14 16:05:58 2011 +0000 @@ -39,7 +39,7 @@ { // create the interface m_serDisp.baud( 115200 ); - m_serDisp.attach( this, &LocalCallback ); + m_serDisp.attach( this, &GdiEzL4::LocalCallback ); // initialize m_serDisp.putc( EZ_BTP ); @@ -321,9 +321,9 @@ void GdiEzL4::LocalCallback( void ) { - U8 nChar; - - // call the callback - nChar = m_serDisp.getc( ); - m_pvFuncCallBack.call( nChar ); + U8 nChar; + + // call the callback + nChar = m_serDisp.getc( ); + m_pvFuncCallBack.call( nChar ); }