bsptemplate/asspandvariant/template_variant/specific/uart.cpp
branchRCL_3
changeset 43 c1f20ce4abcf
parent 0 a41df078684a
child 44 3e88ff8f41d5
--- a/bsptemplate/asspandvariant/template_variant/specific/uart.cpp	Thu Aug 19 11:14:22 2010 +0300
+++ b/bsptemplate/asspandvariant/template_variant/specific/uart.cpp	Tue Aug 31 16:34:26 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