forked from Makuna/NeoPixelBus
NEOPIXEBUS_NO_STL (#314)
This commit is contained in:
1 parent
31dafcddf6
commit
a0fab862fb
9 files changed
+18
-12
No files matched your search
@@ -27,7 +27,7 @@ License along with NeoPixel. If not, see
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef ARDUINO_ARCH_AVR
|
||||
#if defined(ARDUINO_ARCH_AVR) || defined(ARDUINO_ARCH_MEGAAVR)
|
||||
|
||||
extern "C"
|
||||
{
|
||||
|
||||
@@ -27,7 +27,7 @@ License along with NeoPixel. If not, see
|
||||
#pragma once
|
||||
|
||||
|
||||
#ifdef ARDUINO_ARCH_AVR
|
||||
#if defined(NEOPIXEBUS_NO_STL)
|
||||
|
||||
typedef uint16_t(*LayoutMapCallback)(int16_t x, int16_t y);
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ License along with NeoPixel. If not, see
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef ARDUINO_ARCH_AVR
|
||||
#if defined(NEOPIXEBUS_NO_STL)
|
||||
|
||||
typedef float(*AnimEaseFunction)(float unitValue);
|
||||
|
||||
|
||||
@@ -25,10 +25,7 @@ License along with NeoPixel. If not, see
|
||||
-------------------------------------------------------------------------*/
|
||||
|
||||
#include <Arduino.h>
|
||||
#include "RgbColor.h"
|
||||
#include "RgbwColor.h"
|
||||
#include "NeoEase.h"
|
||||
#include "NeoGamma.h"
|
||||
#include "NeoPixelBus.h"
|
||||
|
||||
const uint8_t NeoGammaTableMethod::_table[] = {
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
|
||||
@@ -24,6 +24,7 @@ License along with NeoPixel. If not, see
|
||||
<http://www.gnu.org/licenses/>.
|
||||
-------------------------------------------------------------------------*/
|
||||
|
||||
#include "NeoPixelBus.h"
|
||||
#include "NeoPixelAnimator.h"
|
||||
|
||||
NeoPixelAnimator::NeoPixelAnimator(uint16_t countAnimations, uint16_t timeScale) :
|
||||
|
||||
@@ -34,7 +34,7 @@ License along with NeoPixel. If not, see
|
||||
-------------------------------------------------------------------------*/
|
||||
|
||||
// must also check for arm due to Teensy incorrectly having ARDUINO_ARCH_AVR set
|
||||
#if defined(ARDUINO_ARCH_AVR) && !defined(__arm__)
|
||||
#if (defined(ARDUINO_ARCH_AVR) || defined(ARDUINO_ARCH_MEGAAVR)) && !defined(__arm__)
|
||||
|
||||
#include <Arduino.h>
|
||||
|
||||
|
||||
Reference in new issue
Block a user