X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=blobdiff_plain;f=test%2Fbaudrate.cpp;fp=test%2Fbaudrate.cpp;h=29bbd209835f7f92424f8bd974fe7dbe75bec0a6;hp=d0e2cc4bd29b54093c1161ca03126d1dcfdbfac3;hb=3c9ef8f8c6951ac8245b3b6c6eb98758fe06ec4e;hpb=e0d70e3556d3648f09f61d7d0922dc746251dade diff --git a/test/baudrate.cpp b/test/baudrate.cpp index d0e2cc4..29bbd20 100644 --- a/test/baudrate.cpp +++ b/test/baudrate.cpp @@ -124,7 +124,7 @@ BOOST_AUTO_TEST_CASE(TypeAMFixedBaudrates) ftdi->type = TYPE_AM; map baudrates; - baudrates[183] = calc_result(183, 16383, 3, 48); + baudrates[183] = calc_result(183, 16383, 0, 48); baudrates[300] = calc_result(300, 10000, 0, 48); baudrates[600] = calc_result(600, 5000, 0, 48); baudrates[1200] = calc_result(1200, 2500, 0, 48); @@ -141,12 +141,12 @@ BOOST_AUTO_TEST_CASE(TypeAMFixedBaudrates) baudrates[1000000] = calc_result(1000000, 3, 0, 48); baudrates[1090512] = calc_result(1000000, 3, 0, 48); baudrates[1090909] = calc_result(1000000, 3, 0, 48); - baudrates[1090910] = calc_result(1200000, 2, 1, 48); + baudrates[1090910] = calc_result(1000000, 3, 0, 48); baudrates[1200000] = calc_result(1200000, 2, 1, 48); baudrates[1333333] = calc_result(1333333, 2, 2, 48); baudrates[1411764] = calc_result(1411765, 2, 3, 48); baudrates[1500000] = calc_result(1500000, 2, 0, 48); - baudrates[2000000] = calc_result(2000000, 1, 0, 48); + baudrates[2000000] = calc_result(1500000, 2, 0, 48); baudrates[3000000] = calc_result(3000000, 0, 0, 48); test_baudrates(ftdi, baudrates);