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:
authorkriegsman@gmail.com <kriegsman@gmail.com@4ad4ec5c-605d-bd5c-5796-512c9b60011b>2013-05-03 06:37:37 +0400
committerkriegsman@gmail.com <kriegsman@gmail.com@4ad4ec5c-605d-bd5c-5796-512c9b60011b>2013-05-03 06:37:37 +0400
commit04e31d2959649a4ec7c8f5b8d6e62fd47972847e (patch)
treefcd6ee26a58d13f213a682b746c4de235a10dd05 /lib8tion.cpp
parent953f9d909699ed71b84980b38d088b21fddcf98f (diff)
MEK: memmove8, memcpy8, and memset8 ARM handling (e.g., none -- just use libc on ARM)
Diffstat (limited to 'lib8tion.cpp')
-rw-r--r--lib8tion.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib8tion.cpp b/lib8tion.cpp
index 50ac75c2..ffe4bd0b 100644
--- a/lib8tion.cpp
+++ b/lib8tion.cpp
@@ -22,6 +22,7 @@ uint16_t rand16seed = RAND16_SEED;
// than standard avr-libc, at a cost of a few extra
// bytes of code.
+#if defined(__AVR__)
extern "C" {
//__attribute__ ((noinline))
void * memset8 ( void * ptr, int val, uint16_t num )
@@ -117,7 +118,7 @@ void * memmove8 ( void * dst, void* src, uint16_t num )
} /* end extern "C" */
-
+#endif /* AVR */
#if 0
// TEST / VERIFICATION CODE ONLY BELOW THIS POINT