From b173a0b963b6a78a97c54021ece4201a4ffef8f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20=C3=96stman?= Date: Sat, 17 Aug 2019 23:20:12 +0200 Subject: [PATCH] Removed default parameter from CPP-file Fixes #8 --- src/MCP23017.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MCP23017.cpp b/src/MCP23017.cpp index 05fb374..57d2392 100644 --- a/src/MCP23017.cpp +++ b/src/MCP23017.cpp @@ -1,6 +1,6 @@ #include "MCP23017.h" -MCP23017::MCP23017(uint8_t address, TwoWire& bus = Wire) { +MCP23017::MCP23017(uint8_t address, TwoWire& bus) { _deviceAddr = address; _bus = &bus; } @@ -194,4 +194,4 @@ void MCP23017::clearInterrupts(uint8_t& portA, uint8_t& portB) readRegister(MCP23017_REGISTER::INTCAPA, portA, portB); } -#endif \ No newline at end of file +#endif