Skip to content

Commit 09a2bd9

Browse files
committed
brackets around a single line are evil
1 parent bb4c27e commit 09a2bd9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/SparkFun_TMAG5273_Arduino_Library.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1801,9 +1801,7 @@ int8_t TMAG5273::getError()
18011801
TMAG5273_DEVICE_STATUS_INT_ERROR_BITS | TMAG5273_OSCILLATOR_ERROR_BITS)) == 0)
18021802
return 0; // no errors
18031803
else
1804-
{
18051804
return -1; // error detected
1806-
}
18071805
}
18081806

18091807
/************************************************************************************************/

0 commit comments

Comments
 (0)