A small library that's provide helpers for programmers
Diff: MySensor.cpp
- Revision:
- 3:9d3aebd62b82
- Parent:
- 2:6cc4c56940af
--- a/MySensor.cpp Fri Mar 27 16:48:12 2015 +0000 +++ b/MySensor.cpp Thu Apr 02 07:33:38 2015 +0000 @@ -65,7 +65,7 @@ // Here we could imgine a mecanism that allow passing smaller buffer that the results data count void MySensor::Capture(char *data, uint16_t *len) { - // Warning here, lock have no timeout it could leads to deadlocks + // Warning here, lock is not the lock we if(results.start != NULL) { if(resultsMutex.trylock()){ // Copy the results