Updated custom_types.h with new magic header
This commit is contained in:
@@ -1,9 +1,11 @@
|
|||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
|
|
||||||
|
#define CONFIG_MAGIC 0xBEEF
|
||||||
typedef struct vehicle_config{
|
typedef struct vehicle_config{
|
||||||
uint16_t config_lock;
|
uint16_t magic = CONFIG_MAGIC;
|
||||||
bool auto_detect_track;
|
bool auto_detect_track = true;
|
||||||
uint8_t num_tracks;
|
uint8_t num_tracks = 0;
|
||||||
uint8_t selected_track;
|
uint8_t selected_track = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct track_data {
|
typedef struct track_data {
|
||||||
|
|||||||
Reference in New Issue
Block a user