Skip to content

Commit

Permalink
drivers: adgs1408: adgs1408: fix missing bracket
Browse files Browse the repository at this point in the history
Add missing bracket found via cppcheck.

Signed-off-by: Antoniu Miclaus <[email protected]>
  • Loading branch information
amiclaus authored and commodo committed Sep 12, 2018
1 parent 9a26350 commit 9513116
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/adgs1408/adgs1408.c
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ int32_t adgs1408_configure_round_robin(struct adgs1408_dev *dev, uint8_t cnv_pol
ADGS1408_RROBIN_SW5(dev->rrobin_sw_config.rrobin_sw5) |
ADGS1408_RROBIN_SW6(dev->rrobin_sw_config.rrobin_sw6) |
ADGS1408_RROBIN_SW7(dev->rrobin_sw_config.rrobin_sw7) |
ADGS1408_RROBIN_SW8(dev->rrobin_sw_config.rrobin_sw8;
ADGS1408_RROBIN_SW8(dev->rrobin_sw_config.rrobin_sw8);
} else {
reg_config = ADGS1408_RROBIN_SW1(dev->rrobin_sw_config.rrobin_sw1) |
ADGS1408_RROBIN_SW2(dev->rrobin_sw_config.rrobin_sw2) |
Expand Down

0 comments on commit 9513116

Please sign in to comment.