Browse Source

Oops - missed debug message

Commented out other debug messages earlier, but missed this one
main
Kurt Eckhardt 8 years ago
parent
commit
db18d0b056
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      SPI.cpp

+ 1
- 1
SPI.cpp View File

uint8_t pin1_mask, pin2_mask; uint8_t pin1_mask, pin2_mask;
if ((pin1_mask = (uint8_t)pinIsChipSelect(pin1)) == 0) return false; if ((pin1_mask = (uint8_t)pinIsChipSelect(pin1)) == 0) return false;
if ((pin2_mask = (uint8_t)pinIsChipSelect(pin2)) == 0) return false; if ((pin2_mask = (uint8_t)pinIsChipSelect(pin2)) == 0) return false;
Serial.printf("pinIsChipSelect %d %d %x %x\n\r", pin1, pin2, pin1_mask, pin2_mask);
//Serial.printf("pinIsChipSelect %d %d %x %x\n\r", pin1, pin2, pin1_mask, pin2_mask);
if ((pin1_mask & pin2_mask) != 0) return false; if ((pin1_mask & pin2_mask) != 0) return false;
return true; return true;
} }

Loading…
Cancel
Save