Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FastLED/FastLED.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNico <NicoHood@users.noreply.github.com>2017-11-02 19:15:48 +0300
committerDaniel Garcia <danielgarcia@gmail.com>2017-11-02 19:15:48 +0300
commit64d729e6e6d6bbb8da239e65963d6eb82a7059a7 (patch)
treeb170954bcf1d801a32cc7da059b42f46547265cc /noise.cpp
parente3125f1df54ae60a49e3500ca569053d1b5d9701 (diff)
Makefile Compilation Fix (#490)
* renamed boolean to bool * Rename byte to uint8_t * Fix compilation error: 'NULL' was not declared in this scope * Always typedef RoReg and RwReg for the AVR platform * Include stdlib.h if abs() is not available This is required as Arduino.h #define's its own abs() makro. Outside of Arduino environments stdlib is required. Also see: https://github.com/arduino/Arduino/issues/6684 * Replace digitalWrite() with Pin Class by FastLed * Include string.h for memset function This include is normally done by Arduino.h but still required for makefile environments $ grep string.h . -r ./Arduino.h:#include <string.h> * Include math.h for pow() math.h is normally included by Arduino.h but required for a makefile build $ grep math.h . -r ./Arduino.h:#include <math.h>
Diffstat (limited to 'noise.cpp')
-rw-r--r--noise.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/noise.cpp b/noise.cpp
index 8b1f6a4d..7a8ba79c 100644
--- a/noise.cpp
+++ b/noise.cpp
@@ -1,5 +1,6 @@
#define FASTLED_INTERNAL
#include "FastLED.h"
+#include <string.h>
FASTLED_NAMESPACE_BEGIN