Compiles with IDF5 (#789)

This commit is contained in:
Michael Miller
2024-03-22 11:38:45 -07:00
committed by GitHub
parent d95a8d2522
commit 22746479f6
9 changed files with 47 additions and 33 deletions
+5 -1
View File
@@ -24,10 +24,14 @@ License along with NeoPixel. If not, see
<http://www.gnu.org/licenses/>.
-------------------------------------------------------------------------*/
#if defined(ARDUINO_ARCH_ESP8266) || defined(ARDUINO_ARCH_ESP32)
#if defined(ARDUINO_ARCH_ESP8266) || defined(ARDUINO_ARCH_ESP32) && !defined(ARDUINO_ESP32C6_DEV) && !defined(ARDUINO_ESP32H2_DEV)
#include <Arduino.h>
#if ESP_IDF_VERSION_MAJOR>=5
#include <soc/gpio_struct.h>
#endif
static inline uint32_t getCycleCount(void)
{
uint32_t ccount;