summaryrefslogtreecommitdiff
path: root/include/serial.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/serial.h')
-rw-r--r--include/serial.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/serial.h b/include/serial.h
index 033fd54..5099ee7 100644
--- a/include/serial.h
+++ b/include/serial.h
@@ -1,11 +1,9 @@
#ifndef __INCLUDE_SERIAL__
#define __INCLUDE_SERIAL__
-typedef enum { SUCCESS, ERROR_READ, ERROR_TIMEOUT } SERIAL_RETURN_CODE;
-
int openSerialPort(char pathToPort[]);
-SERIAL_RETURN_CODE querySerialPort(char **output, int serialPort, char *input,
- int timeoutSeconds, char *lastLineSubStr);
+int querySerialPort(char **output, int serialPort, char *input,
+ int timeoutSeconds, char *lastLineSubStr);
#endif