Skip to content

Commit 6704df9

Browse files
committed
Fix intentional mistake
1 parent ad0e07e commit 6704df9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/SparkFun_VL6180X.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ uint8_t VL6180x::changeAddress(uint8_t old_address, uint8_t new_address)
129129
// POWER CYCLING THE DEVICE REVERTS ADDRESS BACK TO 0X29
130130

131131
if (old_address == new_address)
132-
return old_adress;
132+
return old_address;
133133
if (new_address > 127)
134134
return old_address;
135135

0 commit comments

Comments
 (0)