1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-01 07:31:51 +00:00
This commit is contained in:
J. Nick Koston
2025-09-04 15:55:41 -05:00
parent b424c16dde
commit 3f6a490cf4

View File

@@ -54,7 +54,6 @@ bool MAX6956::digital_read_hw(uint8_t pin) {
// Calculate bank index based on the base class view (no offset adjustment)
uint8_t bank_index = pin / MAX6956_BANK_SIZE;
// Use the named constants for register addresses
static const uint8_t BANK_REGS[4] = {
MAX6956_4PORTS_4_7, // Bank 0: 4 ports 4-7 (bits D0-D3, D4-D7 read as 0)
MAX6956_8PORTS_8_15, // Bank 1: 8 ports 8-15 (bits D0-D7)