updated temporary changed test code Beagle_BSP_dev
authorLukasz Forynski <lukasz.forynski@gmail.com>
Wed, 22 Sep 2010 23:37:20 +0100
branchBeagle_BSP_dev
changeset 83 bcf33365fd8d
parent 82 65b40f262685
child 84 09e266454dcf
updated temporary changed test code
omap3530/omap3530_drivers/spi/test/d_spi_client_m.cpp
omap3530/omap3530_drivers/spi/test/t_spi_client_m.cpp
--- a/omap3530/omap3530_drivers/spi/test/d_spi_client_m.cpp	Wed Sep 22 23:33:25 2010 +0100
+++ b/omap3530/omap3530_drivers/spi/test/d_spi_client_m.cpp	Wed Sep 22 23:37:20 2010 +0100
@@ -331,7 +331,7 @@
 	TPckgBuf<TConfigSpiV01> header(KHeader);
 
 	// create transfer object
-	const TInt KBuffLength = 10; // tTODO temp ..
+	const TInt KBuffLength = 64;
 	TBuf8<KBuffLength> txTransferBuf; // txbuffer..
 
 	// fill it with some data..(this will also set the length of the buffer)
@@ -349,10 +349,6 @@
 	// queue the transaction synchronously
 	r = IicBus::QueueTransaction(busId, &transaction);
 
-	// TODO - temporary added here..
-	SET_SLAVE_ADDR(busId, 1);
-	r = IicBus::QueueTransaction(busId, &transaction);
-
 	LOG_FUNCTION_RETURN;
 	return r;
 	}
--- a/omap3530/omap3530_drivers/spi/test/t_spi_client_m.cpp	Wed Sep 22 23:33:25 2010 +0100
+++ b/omap3530/omap3530_drivers/spi/test/t_spi_client_m.cpp	Wed Sep 22 23:37:20 2010 +0100
@@ -72,8 +72,6 @@
 	test.Next(_L("TestSynchronousOperation()"));
 
 	test.Next(_L("HalfDuplexSingleWrite()"));
-
-	while(1)
 	TestError(testLdd.HalfDuplexSingleWrite());
 
 	test.Next(_L("HalfDuplexMultipleWrite()"));