diff options
author | siddhu8990 | 2016-10-18 10:31:23 +0530 |
---|---|---|
committer | siddhu8990 | 2016-10-18 10:31:23 +0530 |
commit | 52de97290366abe6cfb0576ca19d9c1732c1f0ea (patch) | |
tree | c2effe8b6e60c112b126f1d39ddb0d82253dc4e9 /src/c/hardware/rasberrypi/serial/u16RPISerialSendDatas.c | |
parent | 9a30882032e80661fe6c69d7c50da0154e4e431f (diff) | |
download | Scilab2C_fossee_old-52de97290366abe6cfb0576ca19d9c1732c1f0ea.tar.gz Scilab2C_fossee_old-52de97290366abe6cfb0576ca19d9c1732c1f0ea.tar.bz2 Scilab2C_fossee_old-52de97290366abe6cfb0576ca19d9c1732c1f0ea.zip |
Suppressed declaration of not required variables and functions
Diffstat (limited to 'src/c/hardware/rasberrypi/serial/u16RPISerialSendDatas.c')
-rw-r--r-- | src/c/hardware/rasberrypi/serial/u16RPISerialSendDatas.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/c/hardware/rasberrypi/serial/u16RPISerialSendDatas.c b/src/c/hardware/rasberrypi/serial/u16RPISerialSendDatas.c index 2f0536c..b4a90c2 100644 --- a/src/c/hardware/rasberrypi/serial/u16RPISerialSendDatas.c +++ b/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; } |