adafruit / Adafruit_VL53L0X

Arduino library for Adafruit VL53L0X
150 stars 118 forks source link

Incorrect header paths in \core\ and \platform\ #14

Closed gergelytakacs closed 6 years ago

gergelytakacs commented 6 years ago

Problem: If one attempts to use this library as a part of another Arduino library, the sketch will not compile. Reason: The source files in the \core and \platform contain header includes that do not have a path included, they point to header files within the same directory. Solution:

  1. Add "../../" to header includes in \core and \platform, or,
  2. consider changing the directory structure so that these source files are in the same directory with the headers.
ladyada commented 6 years ago

passes travis so mergin' :)