Cleanup arduino useless bullshit

This commit is contained in:
2022-05-23 23:54:16 +02:00
parent a7f574bcf0
commit 411fbf94de
5 changed files with 3 additions and 9 deletions

View File

@ -1,6 +1,6 @@
#define FASTLED_INTERNAL
#include "FastLED.h"
#include "esp32-hal-misc.h"
#if defined(__SAM3X8E__)
volatile uint32_t fuckit;

View File

@ -10,8 +10,6 @@
#endif
#define FASTLED_NO_PINMAP
//#include "esp32-hal.h"
#if (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)
#define FASTLED_HAS_PRAGMA_MESSAGE
#endif

View File

@ -8,6 +8,8 @@
#include "FastLED.h"
#include "esp32-hal-cpu.h"
///@file fastled_delay.h
///Utility functions and classes for managing delaycycles

View File

@ -56,11 +56,6 @@
#define FASTLED_USING_NAMESPACE
#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
//#define CLKS_PER_US (F_CPU/1000000)

View File

@ -114,7 +114,6 @@ extern "C" {
#endif
#include "esp_idf_version.h"
//#include "esp32-hal.h"
#include "esp_intr_alloc.h"
#include "driver/gpio.h"
#include "driver/rmt.h"