Skip to content

Commit 808ef24

Browse files
authored
[driver] Fix typo in PCA9535 driver
1 parent b3e5d4a commit 808ef24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modm/driver/gpio/pca9535_impl.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ template < class I2cMaster >
138138
bool
139139
modm::Pca9535<I2cMaster>::readMemory(Index index)
140140
{
141-
retur I2cDevice<I2cMaster>::writeRead(
141+
return I2cDevice<I2cMaster>::writeRead(
142142
buffer + uint8_t(index) , 1,
143143
buffer + uint8_t(index) + 1, 2);
144144
}

0 commit comments

Comments
 (0)