spaceconcordia / space-lib

Libraries projects
0 stars 2 forks source link

I2CRead() function does not appear to actually ready #12

Open A-Hubbell opened 9 years ago

A-Hubbell commented 9 years ago

There doesn't seem to be any code doing any actual reading in the I2CRead() function. The function is called by readDevice() in the same lib, so if it is not working then both functions are broken.

SpaceShawn commented 9 years ago

From what I can tell it does seem to do a read at this line: https://github.com/spaceconcordia/space-lib/blob/master/utls/src/i2c-device.cpp#L36 - let me know if I misunderstood the problem

However I don't see any tests for this here besides checking file access. @harley1011 could you please make a few changes to the library:

Thanks!