Change logging for node numbers. Add new Log::Write method that takes a

node number as an argument. All formatting is now done in the log object
instead of being scattered around. Also added a new helper routine that
takes a Msg object and returns the target node id. In the case of no
message it returns 0 and no node number will be output in the log. See
Driver::GetNodeNumber.
Not all the classes use the new Log::Write yet.
Retreive SUC node id. Just uncomment existing code.
Add error checking to pthreads mutex calls.
Don't do the Query_Wakeup phase for FLiRS nodes as they don't seem to
respond to wakeup class messages and they will respond to others.
Add missing LockNodes/ReleaseNodes around node array scan when removing
controller that returns 0 for node number.
This commit is contained in:
glsatz 2012-02-28 23:55:50 +00:00
parent bd9f9c6ac3
commit 1a2b57f9c7
26 changed files with 483 additions and 372 deletions

View file

@ -556,7 +556,6 @@ int HID_API_EXPORT hid_get_feature_report(hid_device *dev, unsigned char *data,
if (res < 0)
perror("ioctl (GFEATURE)");
return res;
}