#include <FastLED.h>
CRGB src[4] = {
CRGB(1, 2, 3),
CRGB(4, 5, 6),
CRGB(7, 8, 9),
CRGB(10, 11, 12)};
if (!dst) {
return;
}
memset(dst, 0,
sizeof(
CRGB) * 4);
memcpy(dst, src,
sizeof(
CRGB) * 4);
memmove(dst + 1, dst,
sizeof(
CRGB) * 3);
if (memcmp(dst, src,
sizeof(
CRGB)) != 0) {
Serial.println(
"legacy libc copy mismatch");
}
free(dst);
}
Serial.println(
"Test setup starting");
delay(100);
}
}
#if defined(FASTLED_ESP32_IS_QEMU)
#else
#endif
}
static void legacyLibcOnCrgb()
#define EVERY_N_MILLIS(N)
Checks whether to execute a block of code every N milliseconds.
void delay(u32 ms, bool run_async=true) FL_NO_EXCEPT
Public delay wrapper that keeps bare Arduino delay() preferred after using fl::delay; while still all...
void delayMicroseconds(u32 us) FL_NO_EXCEPT
Delay for a given number of microseconds.