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:
authorDaniel Garcia <danielgarcia@gmail.com>2015-03-11 06:54:53 +0300
committerDaniel Garcia <danielgarcia@gmail.com>2015-03-11 06:54:53 +0300
commit49d3563fdba9db0785b9884f8c8c027db713ae69 (patch)
treef0c7e0fba858a66bfd059413db885d101d4e16a5 /lib8tion.cpp
parentb818a63b9dbbad728e10180000aae13ecb938072 (diff)
fixing build errors
Diffstat (limited to 'lib8tion.cpp')
-rw-r--r--lib8tion.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib8tion.cpp b/lib8tion.cpp
index 03c3805f..1306e5c0 100644
--- a/lib8tion.cpp
+++ b/lib8tion.cpp
@@ -1,6 +1,6 @@
#define FASTLED_INTERNAL
#include <stdint.h>
-#include <FastLED.h>
+#include "FastLED.h"
FASTLED_NAMESPACE_BEGIN
@@ -56,7 +56,7 @@ void * memset8 ( void * ptr, uint8_t val, uint16_t num )
//__attribute__ ((noinline))
-void * memcpy8 ( void * dst, void* src, uint16_t num )
+void * memcpy8 ( void * dst, const void* src, uint16_t num )
{
asm volatile(
" movw r30, %[src] \n\t"
@@ -84,7 +84,7 @@ void * memcpy8 ( void * dst, void* src, uint16_t num )
}
//__attribute__ ((noinline))
-void * memmove8 ( void * dst, void* src, uint16_t num )
+void * memmove8 ( void * dst, const void* src, uint16_t num )
{
if( src > dst) {
// if src > dst then we can use the forward-stepping memcpy8