From: Thomas Jarosch Date: Wed, 7 Sep 2011 08:56:01 +0000 (+0200) Subject: Cosmetic changes and add Uwe to authors X-Git-Tag: v1.0rc1~71^2~4 X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=commitdiff_plain;h=93de2301b262afa86af6c48076c1d6c89888eb0f Cosmetic changes and add Uwe to authors --- diff --git a/test/baudrate.cpp b/test/baudrate.cpp index 8bd04eb..d541ba3 100644 --- a/test/baudrate.cpp +++ b/test/baudrate.cpp @@ -1,7 +1,7 @@ /**@file @brief Test baudrate calculator code -@author Thomas Jarosch +@author Thomas Jarosch and Uwe Bonnes */ /*************************************************************************** @@ -106,6 +106,7 @@ static void test_baudrates(ftdi_context *ftdi, const map &baud break; default:; } + // Aid debugging since this test is a generic function BOOST_CHECK_MESSAGE(res->actual_baudrate == calc_baudrate && res->divisor == divisor && res->fractional_bits == fractional_bits && res->clock == clock, @@ -199,6 +200,7 @@ BOOST_AUTO_TEST_CASE(TypeBMFixedBaudrates) baudrates[(3000000*16/(2*16+ 3))+1] = calc_result(round(3000000/2.125), 2, 3, 48); baudrates[ 3000000*16/(2*16+ 1) ] = calc_result(round(3000000/2.125), 2, 3, 48); baudrates[(3000000*16/(2*16+ 1))+1] = calc_result(round(3000000/2.000), 2, 0, 48); + BOOST_FOREACH(const enum ftdi_chip_type &test_chip_type, test_types) { ftdi->type = test_chip_type;