Skip to content

Commit 35d2d6e

Browse files
committed
Unify usage of space before brace for if, for
1 parent 2720ef5 commit 35d2d6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/OPAMP/src/OPAMP.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ bool OpampClass::initPins(uint8_t channel_mask) {
3636
return false;
3737
}
3838
// Check the 4 possible channels
39-
for(uint8_t i = 0; i < 4; i++) {
39+
for (uint8_t i = 0; i < 4; i++) {
4040
// was this channel selected?
4141
if (!(channel_mask & (1u << i))) {
4242
continue;
@@ -82,7 +82,7 @@ bool OpampClass::begin(OpampSpeedMode speed) {
8282
}
8383

8484
bool OpampClass::begin(uint8_t channel_mask, OpampSpeedMode speed) {
85-
if(!initPins(channel_mask)) {
85+
if (!initPins(channel_mask)) {
8686
return false;
8787
}
8888
initOpamp(speed, channel_mask);

0 commit comments

Comments
 (0)