Use ftdi_new and not ftdi_init in the examples
authorUwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
Tue, 4 Oct 2011 12:57:12 +0000 (14:57 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Tue, 4 Oct 2011 16:18:07 +0000 (18:18 +0200)
commitcd2ead2f23cea38de6fdbf2459c79cb4936fbf8d
treecf12d3f2d200112b4cb83800124b7ffb9f89438f
parente41d34235570f2b3bae3ea5db9150cddf2597810
Use ftdi_new and not ftdi_init in the examples

At least our examples should use the library allocated buffer
and not a user allocated one.
examples/baud_test.c
examples/bitbang.c
examples/bitbang2.c
examples/bitbang_cbus.c
examples/bitbang_ft2232.c
examples/find_all.c
examples/simple.c
examples/stream_test.c