drivers/hdc1000: Acquire exclusive access to I2C bus and minor bug fixes#2354
drivers/hdc1000: Acquire exclusive access to I2C bus and minor bug fixes#2354PeterKietzmann merged 1 commit intoRIOT-OS:masterfrom jfischer-no:ts@hdc1000
Conversation
drivers/hdc1000/hdc1000.c
Outdated
There was a problem hiding this comment.
You can merge this i2c_release and the one on L78 by inserting i2c_release(dev->i2c); to between L75,L76
|
@jfischer-phytec-iot just IF you are planning to do more work on this "making bus drivers thread safe", please assign yourself in #2314 so our work won't collide... Cheers! |
drivers/hdc1000/hdc1000.c
Outdated
There was a problem hiding this comment.
Is there a reason why you aqcuired i2c before generating reg here while you didn't do so for example in line 130?
There was a problem hiding this comment.
no, corrected and squashed
|
@jfischer-phytec-iot if my above comment is reasoned I would ACK this. Tested and worked |
|
PS: and please squash |
fix doxygen warnings change default address
|
ACK but waiting for Travis |
|
Travis failed for a unrelated reasons and because of the "Needs Squashing" label which you removed. Let's merge |
drivers/hdc1000: Acquire exclusive access to I2C bus and minor bug fixes
This PR adds exclusive access to I2C bus and minor bug fixes for HDC1000 driver: