Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
math.h fix #1310
removed extraneous include of math.h in spark_wiring_arduino.h - we only want to include it when Arduino compatibility is enabled (via Arduino.h)
math.h was being included, plus a check for isnan being a defined symbol. This will fail if
Only include math.h when Arduino compatibility is requested. (math.h was not included in 0.6.0).
Steps to Test
Run the firmware library compile script to validate all libraries that compiled with 0.6.0 continue to compile with this PR. (this has been done.)