summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/hardware/rasberrypi/serial/i16RPISerialSendDataa.c
diff options
context:
space:
mode:
authorsiddhu89902016-10-18 10:31:23 +0530
committersiddhu89902016-10-18 10:31:23 +0530
commitcdd9bf519d594b87c07193d2770b81a07829a50c (patch)
treec8985f43c314cafcfa04053a821116424d54c2a1 /2.3-1/src/c/hardware/rasberrypi/serial/i16RPISerialSendDataa.c
parentf0ef5a2d4560f166751b58020ee5a2bc70904611 (diff)
downloadScilab2C-cdd9bf519d594b87c07193d2770b81a07829a50c.tar.gz
Scilab2C-cdd9bf519d594b87c07193d2770b81a07829a50c.tar.bz2
Scilab2C-cdd9bf519d594b87c07193d2770b81a07829a50c.zip
Suppressed declaration of not required variables and functions
Diffstat (limited to '2.3-1/src/c/hardware/rasberrypi/serial/i16RPISerialSendDataa.c')
-rw-r--r--2.3-1/src/c/hardware/rasberrypi/serial/i16RPISerialSendDataa.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/2.3-1/src/c/hardware/rasberrypi/serial/i16RPISerialSendDataa.c b/2.3-1/src/c/hardware/rasberrypi/serial/i16RPISerialSendDataa.c
index f5b7d71e..24180f41 100644
--- a/2.3-1/src/c/hardware/rasberrypi/serial/i16RPISerialSendDataa.c
+++ b/2.3-1/src/c/hardware/rasberrypi/serial/i16RPISerialSendDataa.c
@@ -15,7 +15,7 @@
#include "types.h"
#include "RPIPeripheralSerial.h"
-uint8 i16RPISerialSendDataa(int fd, int16* data, int size)
+void i16RPISerialSendDataa(int fd, int16* data, int size)
{
int count = 0;
@@ -24,6 +24,4 @@ uint8 i16RPISerialSendDataa(int fd, int16* data, int size)
i16RPISerialSendDatas(fd, data[count]);
}
-
- return 0;
}