Some checks failed
ESP-IDF Build / build (esp32c6, release-v5.4) (push) Failing after 4m49s
ESP-IDF Build / build (esp32c6, release-v5.5) (push) Failing after 4m44s
ESP-IDF Build / build (esp32s3, release-v5.4) (push) Failing after 4m34s
ESP-IDF Build / build (esp32s3, release-v5.5) (push) Failing after 4m43s
Signed-off-by: Peter Siegmund <developer@mars3142.org>
17 lines
247 B
C
17 lines
247 B
C
#pragma once
|
|
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
#define LED_SEGMENT_MAX_LEN 15
|
|
|
|
typedef struct
|
|
{
|
|
char name[32];
|
|
uint16_t start;
|
|
uint16_t leds;
|
|
} led_segment_t;
|
|
|
|
led_segment_t segments[LED_SEGMENT_MAX_LEN];
|
|
size_t segment_count;
|