Permalink
Browse files

Use consistent include syntax (#571)

- Angle brackets for external includes
- Space after #include directive
  • Loading branch information...
per1234 authored and focalintent committed Apr 18, 2018
1 parent ef49e12 commit 6fd236684e31c7703dfba697e86b2b8e9028b75f
View
@@ -25,15 +25,15 @@
#endif
#ifdef SmartMatrix_h
#include<SmartMatrix.h>
#include <SmartMatrix.h>
#endif
#ifdef DmxSimple_h
#include<DmxSimple.h>
#include <DmxSimple.h>
#endif
#ifdef DmxSerial_h
#include<DMXSerial.h>
#include <DMXSerial.h>
#endif
#include <stdint.h>
@@ -50,7 +50,7 @@
#include "controller.h"
#include "fastpin.h"
#include "fastspi_types.h"
#include "./dmx.h"
#include "dmx.h"
#include "platforms.h"
#include "fastled_progmem.h"
View
@@ -17,7 +17,7 @@ FASTLED_NAMESPACE_BEGIN
#if defined(SoftwareSerial_h)
#include "SoftwareSerial.h"
#include <SoftwareSerial.h>
#define HAS_PIXIE
View
4 dmx.h
@@ -4,7 +4,7 @@
#include "FastLED.h"
#ifdef DmxSimple_h
#include<DmxSimple.h>
#include <DmxSimple.h>
#define HAS_DMX_SIMPLE
///@ingroup chipsets
@@ -35,7 +35,7 @@ FASTLED_NAMESPACE_END
#endif
#ifdef DmxSerial_h
#include<DMXSerial.h>
#include <DMXSerial.h>
FASTLED_NAMESPACE_BEGIN
View
@@ -1,4 +1,4 @@
#include "FastLED.h"
#include <FastLED.h>
// How many leds in your strip?
#define NUM_LEDS 1
View
@@ -1,4 +1,4 @@
#include "FastLED.h"
#include <FastLED.h>
// How many leds in your strip?
#define NUM_LEDS 64
@@ -1,4 +1,4 @@
#include "FastLED.h"
#include <FastLED.h>
FASTLED_USING_NAMESPACE
@@ -3,7 +3,7 @@
// Use if you want to force non-accelerated pin access (hint: you really don't, it breaks lots of things)
// #define FASTLED_FORCE_SOFTWARE_SPI
// #define FASTLED_FORCE_SOFTWARE_PINS
#include "FastLED.h"
#include <FastLED.h>
///////////////////////////////////////////////////////////////////////////////////////////
//
@@ -3,7 +3,7 @@
// different pins, each strip getting its own CRGB array to be played with, only this time they're going
// to be all parts of an array of arrays.
#include "FastLED.h"
#include <FastLED.h>
#define NUM_STRIPS 3
#define NUM_LEDS_PER_STRIP 60
@@ -2,7 +2,7 @@
// using multiple controllers. In this example, we're going to set up four NEOPIXEL strips on four
// different pins, and show the same thing on all four of them, a simple bouncing dot/cyclon type pattern
#include "FastLED.h"
#include <FastLED.h>
#define NUM_LEDS_PER_STRIP 60
CRGB leds[NUM_LEDS_PER_STRIP];
@@ -2,7 +2,7 @@
// using multiple controllers. In this example, we're going to set up three NEOPIXEL strips on three
// different pins, each strip getting its own CRGB array to be played with
#include "FastLED.h"
#include <FastLED.h>
#define NUM_LEDS_PER_STRIP 60
CRGB redLeds[NUM_LEDS_PER_STRIP];
@@ -2,7 +2,7 @@
// using multiple controllers. In this example, we're going to set up four NEOPIXEL strips on three
// different pins, each strip will be referring to a different part of the single led array
#include "FastLED.h"
#include <FastLED.h>
#define NUM_STRIPS 3
#define NUM_LEDS_PER_STRIP 60
@@ -1,6 +1,6 @@
#define USE_OCTOWS2811
#include<OctoWS2811.h>
#include<FastLED.h>
#include <OctoWS2811.h>
#include <FastLED.h>
#define NUM_LEDS_PER_STRIP 64
#define NUM_STRIPS 8
@@ -1,4 +1,4 @@
#include<FastLED.h>
#include <FastLED.h>
#define NUM_LEDS_PER_STRIP 64
// Note: this can be 12 if you're using a teensy 3 and don't mind soldering the pads on the back
View
@@ -1,4 +1,4 @@
#include<FastLED.h>
#include <FastLED.h>
//
// Mark's xy coordinate mapping code. See the XYMatrix for more information on it.
@@ -1,4 +1,4 @@
#include<FastLED.h>
#include <FastLED.h>
#define LED_PIN 3
#define BRIGHTNESS 96
@@ -1,4 +1,4 @@
#include "FastLED.h"
#include <FastLED.h>
////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -1,4 +1,4 @@
#include<FastLED.h>
#include <FastLED.h>
#define NUM_LEDS 40
CRGBArray<NUM_LEDS> leds;
@@ -1,5 +1,5 @@
#include<SmartMatrix.h>
#include<FastLED.h>
#include <SmartMatrix.h>
#include <FastLED.h>
#define kMatrixWidth 32
#define kMatrixHeight 32
View
@@ -40,7 +40,7 @@
// Arduino.h needed for convenience functions digitalPinToPort/BitMask/portOutputRegister and the pinMode methods.
#ifdef ARDUINO
#include<Arduino.h>
#include <Arduino.h>
#endif
#define CLKS_PER_US (F_CPU/1000000)
View
@@ -4,7 +4,7 @@
#include "FastLED.h"
#ifndef abs
#include "stdlib.h"
#include <stdlib.h>
#endif
/// Represents a set of CRGB led objects. Provides the [] array operator, and works like a normal array in that case.
@@ -15,7 +15,7 @@
#define MIN(X,Y) (((X)<(Y)) ? (X):(Y))
#define USED_LANES ((FIRST_PIN==2) ? MIN(LANES,8) : MIN(LANES,12))
#include "kinetis.h"
#include <kinetis.h>
FASTLED_NAMESPACE_BEGIN
@@ -2,7 +2,7 @@
#define __INC_SMARTMATRIX_T3_H
#ifdef SmartMatrix_h
#include<SmartMatrix.h>
#include <SmartMatrix.h>
FASTLED_NAMESPACE_BEGIN
@@ -18,7 +18,7 @@
#define MIN(X,Y) (((X)<(Y)) ? (X):(Y))
#define USED_LANES ((FIRST_PIN!=15) ? MIN(LANES,8) : MIN(LANES,12))
#include "kinetis.h"
#include <kinetis.h>
FASTLED_NAMESPACE_BEGIN
@@ -3,7 +3,7 @@
#if defined(NRF51)
#include "nrf51_bitfields.h"
#include <nrf51_bitfields.h>
#define FASTLED_HAS_CLOCKLESS 1
#if (FASTLED_ALLOW_INTERRUPTS==1)
@@ -19,8 +19,8 @@
#endif
#include <stdint.h>
#include "nrf51.h"
#include "core_cm0.h"
#include <nrf51.h>
#include <core_cm0.h>
typedef volatile uint32_t RoReg;
typedef volatile uint32_t RwReg;
@@ -1,7 +1,7 @@
#ifndef __INC_LED_SYSDEFS_ARM_SAM_H
#define __INC_LED_SYSDEFS_ARM_SAM_H
#include "application.h"
#include <application.h>
#define FASTLED_NAMESPACE_BEGIN namespace NSFastLED {
#define FASTLED_NAMESPACE_END }

0 comments on commit 6fd2366

Please sign in to comment.