From 52de97290366abe6cfb0576ca19d9c1732c1f0ea Mon Sep 17 00:00:00 2001 From: siddhu8990 Date: Tue, 18 Oct 2016 10:31:23 +0530 Subject: Suppressed declaration of not required variables and functions --- src/c/hardware/rasberrypi/serial/u16RPISerialSendDatas.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/c/hardware/rasberrypi/serial/u16RPISerialSendDatas.c') 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; } -- cgit