From d8e44ea3a6663f8eb2838f2fefdf8fddf7ef515a Mon Sep 17 00:00:00 2001 From: Philip Howard Date: Tue, 10 Jul 2012 23:36:07 +0100 Subject: [PATCH] Changed shiftOutWithDelay delay to int --- wiringPi/wiringShift.c | 2 +- wiringPi/wiringShift.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wiringPi/wiringShift.c b/wiringPi/wiringShift.c index 3682b22..c684dbb 100644 --- a/wiringPi/wiringShift.c +++ b/wiringPi/wiringShift.c @@ -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; diff --git a/wiringPi/wiringShift.h b/wiringPi/wiringShift.h index 79c0fa6..3d846e0 100644 --- a/wiringPi/wiringShift.h +++ b/wiringPi/wiringShift.h @@ -35,7 +35,7 @@ extern "C" { 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 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 }