C++ API: Correct the purge Direction and ModemCtl enumerations definitions
authorEric Schott <eric@morningjoy.com>
Fri, 21 Jul 2017 09:56:07 +0000 (11:56 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Fri, 21 Jul 2017 09:56:07 +0000 (11:56 +0200)
commit26537a2dec68c3be9d597ae903dc0ffde7d1a599
treee0b3ad5be8fdfaffee23be73c6141d6043ec47bb
parentfb56d9cf14f34dda2d7b154f16a0c08ad8b639f9
C++ API: Correct the purge Direction and ModemCtl enumerations definitions

Do not use value of zero for bitmasks. The new enumeration values
are defined so programs compiled with the old ftdi.hpp include
would work as previously (doing nothing when the enumeration
with the zero value was bit-or'ed into the argument).
ftdipp/ftdi.cpp
ftdipp/ftdi.hpp