# HG changeset patch # User Lukasz Forynski # Date 1285195040 -3600 # Node ID bcf33365fd8d0bbd101520fed7cc5455c1b4eb9e # Parent 65b40f2626858185c79b2f6ee662d081ab7c8e54 updated temporary changed test code diff -r 65b40f262685 -r bcf33365fd8d omap3530/omap3530_drivers/spi/test/d_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 header(KHeader); // create transfer object - const TInt KBuffLength = 10; // tTODO temp .. + const TInt KBuffLength = 64; TBuf8 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; } diff -r 65b40f262685 -r bcf33365fd8d omap3530/omap3530_drivers/spi/test/t_spi_client_m.cpp --- 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()"));