Browse Source

Changed shiftOutWithDelay delay to int

pull/1/head
Philip Howard 12 years ago
parent
commit
d8e44ea3a6
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      wiringPi/wiringShift.c
  2. +1
    -1
      wiringPi/wiringShift.h

+ 1
- 1
wiringPi/wiringShift.c View File

@@ -90,7 +90,7 @@ void shiftOut (uint8_t dPin, uint8_t cPin, uint8_t order, uint8_t val)
********************************************************************************* *********************************************************************************
*/ */


void shiftOutWithDelay (uint8_t dPin, uint8_t cPin, uint8_t order, uint8_t val, uint8_t delay)
void shiftOutWithDelay (uint8_t dPin, uint8_t cPin, uint8_t order, uint8_t val, int delay)
{ {
int8_t i; int8_t i;




+ 1
- 1
wiringPi/wiringShift.h View File

@@ -35,7 +35,7 @@ extern "C" {


extern uint8_t shiftIn (uint8_t dPin, uint8_t cPin, uint8_t order) ; extern uint8_t shiftIn (uint8_t dPin, uint8_t cPin, uint8_t order) ;
extern void shiftOut (uint8_t dPin, uint8_t cPin, uint8_t order, uint8_t val) ; extern void shiftOut (uint8_t dPin, uint8_t cPin, uint8_t order, uint8_t val) ;
extern void shiftOutWithDelay (uint8_t dPin, uint8_t cPin, uint8_t order, uint8_t val, uint8_t delay) ;
extern void shiftOutWithDelay (uint8_t dPin, uint8_t cPin, uint8_t order, uint8_t val, int delay) ;


#ifdef __cplusplus #ifdef __cplusplus
} }


Loading…
Cancel
Save