Skip to content

Commit 58a9956

Browse files
committed
Missing return
1 parent f41504e commit 58a9956

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qwiic_tmf882x.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ bool QwDevTMF882X::setI2CAddress(uint8_t address)
195195
{
196196
// Initialized? Is the address legal?
197197
if (!_isInitialized || address < 0x08 || address > 0x77)
198-
false;
198+
return false;
199199

200200
// is the address the same as already set?
201201
if (address == _i2cAddress)

0 commit comments

Comments
 (0)