Batch appercase hex values

This commit is contained in:
Scott Lahteine
2020-10-09 16:50:17 -05:00
committed by Scott Lahteine
parent 3facf34f5f
commit 7e09160ba3
106 changed files with 7192 additions and 7192 deletions

View File

@ -90,7 +90,7 @@ uint8_t* MAX3421e::bytesRd(uint8_t reg, uint8_t nbytes, uint8_t* data_p) {
// GPIN pins are in high nybbles of IOPINS1, IOPINS2
uint8_t MAX3421e::gpioRd() {
return (regRd(rIOPINS2) & 0xf0) | // pins 4-7, clean lower nybble
return (regRd(rIOPINS2) & 0xF0) | // pins 4-7, clean lower nybble
(regRd(rIOPINS1) >> 4); // shift low bits and OR with upper from previous operation.
}