diff options
author | Jorawar Singh | 2017-07-04 15:14:46 +0530 |
---|---|---|
committer | Jorawar Singh | 2017-07-04 15:14:46 +0530 |
commit | 121b455e1e46617c670a8b9dfa77bbb1aa97a51a (patch) | |
tree | d4ebfb141c8036c3d59c0ac9007003f79ed68d02 /src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralDigital.h | |
parent | a3dfa2a4069740517ca6e83f99dd4e0dbb71c377 (diff) | |
download | Scilab2C_fossee_old-121b455e1e46617c670a8b9dfa77bbb1aa97a51a.tar.gz Scilab2C_fossee_old-121b455e1e46617c670a8b9dfa77bbb1aa97a51a.tar.bz2 Scilab2C_fossee_old-121b455e1e46617c670a8b9dfa77bbb1aa97a51a.zip |
Fixed standalone conversion errors with RPi files
Diffstat (limited to 'src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralDigital.h')
-rw-r--r-- | src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralDigital.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralDigital.h b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralDigital.h index 7de051f..096fed0 100644 --- a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralDigital.h +++ b/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 |