You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the shiftIn documentation the return parameter should be byte. For symmetry with the shiftOut function it would make sense to return uint8_t.
In this API the return value is currently specified as pin_size_t which can be either uint8_t or uint32_t
#ifdef EXTENDED_PIN_MODE
// Platforms who wnat to declare more than 256 pins need to define EXTENDED_PIN_MODE globallytypedefuint32_tpin_size_t;
#elsetypedefuint8_tpin_size_t;
#endif
According to the shiftIn documentation the return parameter should be
byte
. For symmetry with theshiftOut
function it would make sense to returnuint8_t
.In this API the return value is currently specified as
pin_size_t
which can be eitheruint8_t
oruint32_t
Suggest changing the declaration from:
to:
Any reason not to do this?
The text was updated successfully, but these errors were encountered: