C++ API: Correct the purge Direction and ModemCtl enumerations definitions
[libftdi] / ftdipp / ftdi.hpp
index 4e3511d..2289a84 100644 (file)
@@ -55,16 +55,16 @@ public:
      */
     enum Direction
     {
-        Input,
-        Output
+        Input = 0x2,
+        Output = 0x1,
     };
 
     /*! \brief Modem control flags.
      */
     enum ModemCtl
     {
-        Dtr,
-        Rts
+        Dtr = 0x2,
+        Rts = 0x1,
     };
 
     /* Constructor, Destructor */