diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2017-06-07 14:00:39 -0700 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2017-06-09 17:06:15 +0200 |
commit | 75f40c695f400f22e3de4aa8497251d44852b1fe (patch) | |
tree | 2df09a74dfd65ec6f43d3f57106c4f35fa9b99cc /conf | |
parent | b9d3432e0fa30ae24c2ffd1eb2e769aabac9f91f (diff) |
libusbgx: fix usb product id calculation
The Toradex product ID from the config block is decimal coded
ASCII with leading zeros. In C and bash, leading zeros means octal
number... This leads to wrong calculation of the USB product ID
and to errors if the product ID contains the number 8 or 9 (since
those are not valid under the octal numeric system).
Fix both issues by explicitly force decimal system for the Toradex
product ID.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'conf')
0 files changed, 0 insertions, 0 deletions