This Pull Request fixes #20 (as discussed in #19).
What's changed
I had to add in some preprocessor statements to differentiate between how PlatformIO sees files & how the Arduino IDE sees files. This results in two seperate includes for the Compatibility Table, based on what is being used to build a project that uses CRSF for Arduino.
This is completely transparent to the developer.
Additional
I also added in two more preprocessor statements to provide appropriate warnings in the compiler, when CRSF for Arduino is being compiled for incompatible hardware.
This warning will not flag as a compilation error.
Overview
This Pull Request fixes #20 (as discussed in #19).
What's changed
I had to add in some preprocessor statements to differentiate between how PlatformIO sees files & how the Arduino IDE sees files. This results in two seperate includes for the Compatibility Table, based on what is being used to build a project that uses CRSF for Arduino. This is completely transparent to the developer.
Additional
I also added in two more preprocessor statements to provide appropriate warnings in the compiler, when CRSF for Arduino is being compiled for incompatible hardware.
This warning will not flag as a compilation error.