Skip to content

Commit

Permalink
Merge pull request #3 from I-SYST/dev
Browse files Browse the repository at this point in the history
Missing return true
  • Loading branch information
Hoan Hoang authored Jan 18, 2017
2 parents d771ffa + 8f3c405 commit 742050e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ARM/Nordic/nRF52/EHAL/src/i2c_nrf52.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -286,4 +286,6 @@ bool I2CInit(I2CDEV *pDev, const I2CCFG *pCfgData)
pDev->SerIntrf.Busy = false;

reg->ENABLE = (TWIM_ENABLE_ENABLE_Enabled << TWIM_ENABLE_ENABLE_Pos);

return true;
}

0 comments on commit 742050e

Please sign in to comment.