- adds support for setting the time on the njb3
- also fixes a bug in the code to get the time from the
njb3. (needed to mask the bottom 4 bits, not the
bottom 3 (&15 instead of &7) )
with my current set up, my usb-uhci module freezes when
I try to use software to disconnect the njb3 after
performing some operations like setting the time. (On
NJB_Release, I segfault)
This still happens to me (before and after this patch),
but at least now the time gets successfully set before
I crash. And if I unplug the jukebox before the
NJB_Release command is sent, then I'm fine, and I can
keep using libnjb.
Any idea why the code crashes here?