bsptemplate/asspandvariant/template_variant/specific/uart.cpp
changeset 109 b3a1d9898418
parent 0 a41df078684a
child 257 3e88ff8f41d5
--- a/bsptemplate/asspandvariant/template_variant/specific/uart.cpp	Mon May 03 13:47:38 2010 +0300
+++ b/bsptemplate/asspandvariant/template_variant/specific/uart.cpp	Fri May 14 17:13:29 2010 +0300
@@ -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