forked from bbulkow/FastLED-idf
Cleanup arduino useless bullshit
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
#define FASTLED_INTERNAL
|
#define FASTLED_INTERNAL
|
||||||
#include "FastLED.h"
|
#include "FastLED.h"
|
||||||
|
#include "esp32-hal-misc.h"
|
||||||
|
|
||||||
#if defined(__SAM3X8E__)
|
#if defined(__SAM3X8E__)
|
||||||
volatile uint32_t fuckit;
|
volatile uint32_t fuckit;
|
||||||
|
@ -10,8 +10,6 @@
|
|||||||
#endif
|
#endif
|
||||||
#define FASTLED_NO_PINMAP
|
#define FASTLED_NO_PINMAP
|
||||||
|
|
||||||
//#include "esp32-hal.h"
|
|
||||||
|
|
||||||
#if (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)
|
#if (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)
|
||||||
#define FASTLED_HAS_PRAGMA_MESSAGE
|
#define FASTLED_HAS_PRAGMA_MESSAGE
|
||||||
#endif
|
#endif
|
||||||
|
@ -8,6 +8,8 @@
|
|||||||
|
|
||||||
#include "FastLED.h"
|
#include "FastLED.h"
|
||||||
|
|
||||||
|
#include "esp32-hal-cpu.h"
|
||||||
|
|
||||||
///@file fastled_delay.h
|
///@file fastled_delay.h
|
||||||
///Utility functions and classes for managing delaycycles
|
///Utility functions and classes for managing delaycycles
|
||||||
|
|
||||||
|
@ -56,11 +56,6 @@
|
|||||||
#define FASTLED_USING_NAMESPACE
|
#define FASTLED_USING_NAMESPACE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Arduino.h needed for convenience functions digitalPinToPort/BitMask/portOutputRegister and the pinMode methods.
|
|
||||||
#ifdef ARDUINO
|
|
||||||
#include <Arduino.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// F_CPU is almost certainly not defined BB
|
// F_CPU is almost certainly not defined BB
|
||||||
//#define CLKS_PER_US (F_CPU/1000000)
|
//#define CLKS_PER_US (F_CPU/1000000)
|
||||||
|
|
||||||
|
@ -114,7 +114,6 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "esp_idf_version.h"
|
#include "esp_idf_version.h"
|
||||||
//#include "esp32-hal.h"
|
|
||||||
#include "esp_intr_alloc.h"
|
#include "esp_intr_alloc.h"
|
||||||
#include "driver/gpio.h"
|
#include "driver/gpio.h"
|
||||||
#include "driver/rmt.h"
|
#include "driver/rmt.h"
|
||||||
|
Reference in New Issue
Block a user