Skip to content

Commit 5daf24e

Browse files
oops typo
1 parent afea0c7 commit 5daf24e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/encoders/mt6835/MT6835.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ uint8_t MT6835::getCalibrationStatus(){
6060
data[0] = MT6835_OP_READ << 4 | MT6835_REG_CAL_STATUS >> 8;
6161
data[1] = MT6835_REG_CAL_STATUS;
6262

63-
spi->startTransaction(settings);
63+
spi->beginTransaction(settings);
6464
if(nCS >= 0)
6565
digitalWrite(nCS, LOW);
6666
spi->transfer(data, 3);

0 commit comments

Comments
 (0)