Skip to content

Commit 4881529

Browse files
authored
Update Adafruit_MCP23017.cpp
1 parent 8716cd0 commit 4881529

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Adafruit_MCP23017.cpp

+6
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,12 @@ void Adafruit_MCP23017::setupInterruptPin(uint8_t pin, uint8_t mode) {
305305
updateRegisterBit(pin, HIGH, MCP23017_GPINTENA, MCP23017_GPINTENB);
306306
}
307307

308+
/**
309+
* Disable a pin for interrupt.
310+
*
311+
* @param pin Pin to set
312+
*
313+
*/
308314
void Adafruit_MCP23017::disableInterruptPin(uint8_t pin) {
309315
// disable the pin for interrupt
310316
updateRegisterBit(pin, LOW, MCP23017_GPINTENA, MCP23017_GPINTENB);

0 commit comments

Comments
 (0)