diff -r b42b9ce90ea9 -r 661475905584 bsptemplate/asspandvariant/template_variant/specific/uart.cpp --- a/bsptemplate/asspandvariant/template_variant/specific/uart.cpp Fri Apr 23 22:02:01 2010 +0100 +++ b/bsptemplate/asspandvariant/template_variant/specific/uart.cpp Fri Apr 23 22:08:41 2010 +0100 @@ -82,6 +82,8 @@ EUartDataLength8/* =bitmask for eight data bits */ }; +//Remove the #if block if this code needs to be used or referenced. +#if 0 //RVCT40 warning // // TO DO: (mandatory) // @@ -106,6 +108,7 @@ // Lookup table to convert EPOC parity settings into hardware-specific values // // EXAMPLE ONLY + static const TUartParity Parity[3] = { EUartParityNone,EUartParityEven,EUartParityOdd @@ -117,6 +120,7 @@ // Lookup table to convert EPOC stop bit values into hardware-specific values // // EXAMPLE ONLY + static const TUartStopBit StopBit[2] = { EUartStopBitOne,EUartStopBitTwo @@ -128,12 +132,14 @@ // Lookup table to convert EPOC data bit settings into hardware-specific values // // EXAMPLE ONLY + static const TUartDataLength DataLength[4] = { EUartDataLength5,EUartDataLength6, EUartDataLength7,EUartDataLength8 }; +#endif //RVCT40 warning class DDriverComm : public DPhysicalDevice