Fix some compile warnings

This commit is contained in:
Scott Lahteine
2018-05-19 16:54:37 -05:00
parent e1d9046efc
commit c173a31060
4 changed files with 15 additions and 15 deletions

View File

@ -86,7 +86,7 @@ void endstop_ISR(void) { endstop_ISR_worker(); }
// Install Pin change interrupt for a pin. Can be called multiple times.
void pciSetup(byte pin) {
void pciSetup(const int8_t pin) {
SBI(*digitalPinToPCMSK(pin), digitalPinToPCMSKbit(pin)); // enable pin
SBI(PCIFR, digitalPinToPCICRbit(pin)); // clear any outstanding interrupt
SBI(PCICR, digitalPinToPCICRbit(pin)); // enable interrupt for the group