Skip to content

Commit 45e4e5a

Browse files
authored
Merge pull request #117 from oclyke-forks/change-shiftin-declaration
change declared shiftIn return type to uint8_t
2 parents 7f8de58 + 932c7c7 commit 45e4e5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/Common.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ unsigned long pulseIn(pin_size_t pin, uint8_t state, unsigned long timeout);
104104
unsigned long pulseInLong(pin_size_t pin, uint8_t state, unsigned long timeout);
105105

106106
void shiftOut(pin_size_t dataPin, pin_size_t clockPin, BitOrder bitOrder, uint8_t val);
107-
pin_size_t shiftIn(pin_size_t dataPin, pin_size_t clockPin, BitOrder bitOrder);
107+
uint8_t shiftIn(pin_size_t dataPin, pin_size_t clockPin, BitOrder bitOrder);
108108

109109
void attachInterrupt(pin_size_t interruptNumber, voidFuncPtr callback, PinStatus mode);
110110
void attachInterruptParam(pin_size_t interruptNumber, voidFuncPtrParam callback, PinStatus mode, void* param);

0 commit comments

Comments
 (0)