Skip to content

Commit ff57aa4

Browse files
committed
Replace NULL with nullptr
1 parent bf7eddb commit ff57aa4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Adafruit_MCP23XXX.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ class Adafruit_MCP23XXX {
6464
uint16_t getCapturedInterrupt();
6565

6666
protected:
67-
Adafruit_I2CDevice *i2c_dev = NULL; ///< Pointer to I2C bus interface
68-
Adafruit_SPIDevice *spi_dev = NULL; ///< Pointer to SPI bus interface
69-
uint8_t pinCount; ///< Total number of GPIO pins
70-
uint8_t hw_addr; ///< HW address matching A2/A1/A0 pins
67+
Adafruit_I2CDevice *i2c_dev = nullptr; ///< Pointer to I2C bus interface
68+
Adafruit_SPIDevice *spi_dev = nullptr; ///< Pointer to SPI bus interface
69+
uint8_t pinCount; ///< Total number of GPIO pins
70+
uint8_t hw_addr; ///< HW address matching A2/A1/A0 pins
7171
uint16_t getRegister(uint8_t baseAddress, uint8_t port = 0);
7272

7373
private:

0 commit comments

Comments
 (0)