On the master branch (actually from the original commit) it seems there is an extra argument in the call to iqReadI() from the macro sdReadI(), i.e. there should not be a timeout, so rather:
Code: Select all
#define sdReadI(sdp, b, n) iqReadI(&(sdp)->iqueue, b, n)
Also I am wondering if the documentation of sdReadI() & sdWriteI() is correct about being blocking read/write since their iqReadI() & oqWriteI() counterparts claim they are non-blocking read/write.