3#include "platforms/is_platform.h"
48 for (
int i = 0; i < registry_count; i++) {
49 if (keys_equal(registry[i].key, key)) {
50 return registry[i].
value;
58 for (
int i = 0; i < registry_count; i++) {
59 if (keys_equal(registry[i].key, key)) {
65 if (registry_count < REGISTRY_MAX) {
66 registry[registry_count++] = {key,
value};
#define FL_PGM_READ_BYTE_NEAR(x)
Read a byte (8-bit) from PROGMEM memory.
Wrapper definitions to allow seamless use of PROGMEM in environments that have it.
bool keys_equal(const char *a, const char *b) FL_NO_EXCEPT
static constexpr int REGISTRY_MAX
static RegistryEntry registry[REGISTRY_MAX]
static int registry_count
void * singleton_registry_get(const char *key) FL_NO_EXCEPT
void singleton_registry_set(const char *key, void *value) FL_NO_EXCEPT
Compile-time linker keep-alive hook for a single fl::Bus.
u8 u8 fract8 blur_amount FL_NO_EXCEPT
constexpr int type_rank< T >::value
FASTLED_FORCE_INLINE int strcmp(const char *s1, const char *s2) FL_NO_EXCEPT
Base definition for an LED controller.