diff options
author | per1234 <accounts@perglass.com> | 2018-02-17 01:43:34 +0300 |
---|---|---|
committer | per1234 <accounts@perglass.com> | 2018-02-17 06:48:06 +0300 |
commit | 61439cd9705054b2ccf79539a5f5f47e4fdc86a7 (patch) | |
tree | d0a2367a8fb18e92a0b8935ffcf23047bf5e94d6 | |
parent | e0b158ad5ac39549efcca7d63dd6d9413ce40cad (diff) |
Use relative paths for internal includes
This change allows the library to be used outside of the standard libraries folders. An example of when this is useful is bundling the library with a sketch so that it can be distributed as a self-contained package.
-rw-r--r-- | platforms/arm/d21/clockless_arm_d21.h | 2 | ||||
-rw-r--r-- | platforms/arm/kl26/clockless_arm_kl26.h | 2 | ||||
-rw-r--r-- | platforms/arm/nrf51/clockless_arm_nrf51.h | 2 | ||||
-rw-r--r-- | platforms/avr/clockless_trinket.h | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/platforms/arm/d21/clockless_arm_d21.h b/platforms/arm/d21/clockless_arm_d21.h index 91445799..366a6bde 100644 --- a/platforms/arm/d21/clockless_arm_d21.h +++ b/platforms/arm/d21/clockless_arm_d21.h @@ -1,7 +1,7 @@ #ifndef __INC_CLOCKLESS_ARM_D21 #define __INC_CLOCKLESS_ARM_D21 -#include "platforms/arm/common/m0clockless.h" +#include "../common/m0clockless.h" FASTLED_NAMESPACE_BEGIN #define FASTLED_HAS_CLOCKLESS 1 diff --git a/platforms/arm/kl26/clockless_arm_kl26.h b/platforms/arm/kl26/clockless_arm_kl26.h index 7138d0c4..29a61fba 100644 --- a/platforms/arm/kl26/clockless_arm_kl26.h +++ b/platforms/arm/kl26/clockless_arm_kl26.h @@ -1,7 +1,7 @@ #ifndef __INC_CLOCKLESS_ARM_KL26 #define __INC_CLOCKLESS_ARM_KL26 -#include "platforms/arm/common/m0clockless.h" +#include "../common/m0clockless.h" FASTLED_NAMESPACE_BEGIN #define FASTLED_HAS_CLOCKLESS 1 diff --git a/platforms/arm/nrf51/clockless_arm_nrf51.h b/platforms/arm/nrf51/clockless_arm_nrf51.h index da81e9f0..b132e918 100644 --- a/platforms/arm/nrf51/clockless_arm_nrf51.h +++ b/platforms/arm/nrf51/clockless_arm_nrf51.h @@ -17,7 +17,7 @@ #endif -#include "platforms/arm/common/m0clockless.h" +#include "../common/m0clockless.h" template <uint8_t DATA_PIN, int T1, int T2, int T3, EOrder RGB_ORDER = RGB, int XTRA0 = 0, bool FLIP = false, int WAIT_TIME = 75> class ClocklessController : public CPixelLEDController<RGB_ORDER> { typedef typename FastPinBB<DATA_PIN>::port_ptr_t data_ptr_t; diff --git a/platforms/avr/clockless_trinket.h b/platforms/avr/clockless_trinket.h index a883aea0..09546790 100644 --- a/platforms/avr/clockless_trinket.h +++ b/platforms/avr/clockless_trinket.h @@ -1,8 +1,8 @@ #ifndef __INC_CLOCKLESS_TRINKET_H #define __INC_CLOCKLESS_TRINKET_H -#include "controller.h" -#include "lib8tion.h" +#include "../../controller.h" +#include "../../lib8tion.h" #include <avr/interrupt.h> // for cli/se definitions FASTLED_NAMESPACE_BEGIN |