mirror of
https://github.com/EnhancedRadioDevices/DDS
synced 2023-10-28 07:08:12 +00:00
3d476bf1c2ce9f60346e05feac6e0d0a9eeb92c2
Default arguments should only be specified in function prototypes, not in the function definition. This caused compilation of the library to fail for Arduino AVR Boards 1.6.11 or earlier. It does not cause compilation to fail for Arduino AVR Boards 1.6.12 and newer only because the -fpermissive compiler flag was added, which downgrades this to an error. It has been stated that flag may be removed in the future:
06868f4cd3
So this change is necessary for both backwards and forwards compatibility. Even with current versions it fixes a warning, which is always wise to do.
Description
Languages
C++
100%