[Nut-upsdev] Default format for HID debugging (was Re: [Nut-upsuser] Liebert PSP)
aquette.dev at gmail.com
Mon Sep 20 19:55:33 UTC 2010
2010/9/20 Arjen de Korte
> Citeren Charles Lepple
> Any objections to changing the default format string in these debug
>> messages from %f to %g? I know it's nice to have a constant-width output
>> format, but the Type string is variable-length, and in this case, we had a
>> value hiding just outside the precision of the printf output.
> No objections. We just might want to double check if this also requires
> changes to 'path-to-subdriver.sh' (but I don't think this is needed). Other
> than that, there should be no compatibility issues.
this field is not used, but I've quickly checked 'path-to-subdriver.sh'
(which will btw be soon renamed to 'gen-usbhid-subdriver.sh'), and there is
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Nut-upsdev