Use new VERSION_BCD() macro with explicit int arguments to fix edge cases with the previous floating point macro version.

This commit is contained in:
Dean Camera 2013-11-21 19:19:45 +01:00
parent 52c69331ec
commit e3cb0f48ef
51 changed files with 157 additions and 160 deletions

View file

@ -11,7 +11,9 @@
* areas relevant to making older projects compatible with the API changes of each new release.
*
* \section Sec_MigrationXXXXXX Migrating from 130901 to XXXXXX
* No migration information.
* <b>USB Core</b>
* - The \c VERSION_BCD() macro has changed from accepting one floating point parameter to taking three distinct major/minor/revision integer parameters, as
* some edge cases caused incorrect parsing of the input float into the final integer BCD encoded value.
*
* \section Sec_Migration130901 Migrating from 130303 to 130901
* <b>Non-USB Library Components</b>