summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/hardware/rasberrypi/serial/u16RPISerialSendDatas.c
diff options
context:
space:
mode:
Diffstat (limited to '2.3-1/src/c/hardware/rasberrypi/serial/u16RPISerialSendDatas.c')
-rw-r--r--2.3-1/src/c/hardware/rasberrypi/serial/u16RPISerialSendDatas.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/2.3-1/src/c/hardware/rasberrypi/serial/u16RPISerialSendDatas.c b/2.3-1/src/c/hardware/rasberrypi/serial/u16RPISerialSendDatas.c
index 2f0536c3..b4a90c29 100644
--- a/2.3-1/src/c/hardware/rasberrypi/serial/u16RPISerialSendDatas.c
+++ b/2.3-1/src/c/hardware/rasberrypi/serial/u16RPISerialSendDatas.c
@@ -15,11 +15,9 @@
#include "types.h"
#include "RPIPeripheralSerial.h"
-uint8 u16RPISerialSendDatas(int fd, uint16 data)
+void u16RPISerialSendDatas(int fd, uint16 data)
{
/*Send lsb first*/
serialPutchar(fd, (uint8) data);
serialPutchar(fd, (uint8) (data>>8));
-
- return 0;
}