diff options
author | Jorawar Singh | 2017-07-04 15:14:46 +0530 |
---|---|---|
committer | Jorawar Singh | 2017-07-04 15:14:46 +0530 |
commit | 8889f4a5edad040f47c3fcb717053352ab0d05b8 (patch) | |
tree | 749b476d7653774c918af42ebd952d4050ed49b6 /2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralDigital.h | |
parent | c66867c874436fb37ef54c67b048885ce094e894 (diff) | |
download | Scilab2C-8889f4a5edad040f47c3fcb717053352ab0d05b8.tar.gz Scilab2C-8889f4a5edad040f47c3fcb717053352ab0d05b8.tar.bz2 Scilab2C-8889f4a5edad040f47c3fcb717053352ab0d05b8.zip |
Fixed standalone conversion errors with RPi files
Diffstat (limited to '2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralDigital.h')
-rw-r--r-- | 2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralDigital.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralDigital.h b/2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralDigital.h index 7de051fc..096fed08 100644 --- a/2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralDigital.h +++ b/2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralDigital.h @@ -21,8 +21,12 @@ extern "C" { #endif #define u80RPI_digitalReadu80(pin) u8RPI_digitalReads(pin); +#define d0RPI_digitalReadd0(pin) u8RPI_digitalReads(pin); + #define RPI_digitalReadByteu80() RPI_digitalReadByte(); #define u80u80RPI_digitalWrite(pin,state) u8RPI_digitalWrites(pin,state); +#define d0d0RPI_digitalWrite(pin,state) u8RPI_digitalWrites(pin,state); + #define u80RPI_digitalWriteByte(value) u8RPI_digitalWriteBytes(value); #ifdef __cplusplus |