Commits

mitar committed fe92d53

Changed strange import into include in C code.

  • Participants
  • Parent commits 162792b

Comments (0)

Files changed (2)

 Name:                NXT
-Version:             0.1.1
+Version:             0.1.2
 Synopsis:            A Haskell interface to Lego Mindstorms NXT
 Description:         A Haskell interface to Lego Mindstorms NXT over Bluetoooth. It supports direct commands, messages and
                      many sensors (also unofficial). It has also support for a simple message-based control of a NXT brick
   HS-source-dirs:      src
   Build-depends:       base >= 4 && < 5,
                        mtl >= 1.1 && < 2,
-                       NXT == 0.1.1
+                       NXT == 0.1.2
   GHC-options:         -Wall
 
 Executable nxt-upload
                        mtl >= 1.1 && < 2,
                        bytestring >= 0.9 && < 1,
                        filepath >= 1.1 && < 2,
-                       NXT == 0.1.1
+                       NXT == 0.1.2
   GHC-options:         -Wall
   GHC-prof-options:    -Wall
   GHC-shared-options:  -Wall

File ffi/initserial.c

 #include <termios.h>
 #include <unistd.h>
 
-#import "initserial.h"
+#include "initserial.h"
 
 // A simple function which initializes serial port device: 8 bit data, one stop bit, RTS/CTS flow control