NEOPIXEBUS_NO_STL (#314)

This commit is contained in:
Michael Miller authored and GitHub committed 2019-12-07 13:56:34 -08:00
1 parent 31dafcddf6
commit a0fab862fb
9 files changed
+18 -12

No files matched your search

+1 -1
View File
@@ -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"
{
+1 -1
View File
@@ -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);
+1 -1
View File
@@ -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);
+1 -4
View File
@@ -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,
+1
View File
@@ -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) :
+1 -1
View File
@@ -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>