diff options
Diffstat (limited to 'src/usr/i2c/test')
-rwxr-xr-x | src/usr/i2c/test/i2ctest.H | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/usr/i2c/test/i2ctest.H b/src/usr/i2c/test/i2ctest.H index 77470033e..d4bd8a9f2 100755 --- a/src/usr/i2c/test/i2ctest.H +++ b/src/usr/i2c/test/i2ctest.H @@ -631,32 +631,31 @@ class I2CTest: public CxxTest::TestSuite * needed by PHYP to ensure that the I2C masters are * setup correctly on the system. */ - void testI2CSetupMasters ( void ) + void testI2CSetupActiveMasters ( void ) { errlHndl_t err = NULL; int fails = 0; const int NUM_CMDS = 1; TRACFCOMP( g_trac_i2c, - "testI2CSetupMasters - Start" ); + "testI2CSetupActiveMasters - Start" ); - err = I2C::i2cSetupMasters(); + err = I2C::i2cSetupActiveMasters(I2C::I2C_PROC_ALL); if( err ) { - TS_FAIL( "testI2CSetupMasters - Error returned from " - "i2cSetupMasters()"); + TS_FAIL( "testI2CSetupActiveMasters - Error returned from " + "i2cSetupActiveMasters(I2C_PROC_ALL)"); fails++; delete err; } TRACFCOMP( g_trac_i2c, - "testI2CSetupMasters - End: %d/%d fails", + "testI2CSetupActiveMasters - End: %d/%d fails", fails, NUM_CMDS ); } - /** * @brief Call I2C Set Bus Variables and related functions * |