Add unit test for existing baudrate calculcation code
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Fri, 2 Sep 2011 10:59:31 +0000 (12:59 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Fri, 2 Sep 2011 11:02:00 +0000 (13:02 +0200)
commitac6944cc82aecea8d6153ca0e5b1eba8612136b7
tree4f0bae2aa9091cf9164c0824668dcdb3a70b9a74
parenta87a0712f7166d3418a7b522b44ffbce97a93d50
Add unit test for existing baudrate calculcation code

Implement a table for every chip type
which stores the expected calculated result.

Highest speed currently tested is 921600
src/ftdi.c
test/baudrate.cpp