Update custom_types.h to simple struct

This commit is contained in:
2026-03-22 23:51:01 +01:00
parent 3299ca114d
commit 9df359e63e

View File

@@ -1,14 +1,14 @@
#include <inttypes.h>
#define CONFIG_MAGIC 0xBEEF
typedef struct vehicle_config{
struct vehicle_config{
uint16_t magic = CONFIG_MAGIC;
bool auto_detect_track = true;
uint8_t num_tracks = 0;
uint8_t selected_track = 0;
};
typedef struct track_data {
struct track_data {
char name[64];
};