Compare commits

...
2 Commits
Author SHA1 Message Date
h3cx 9e2407d06d Added NULL types for module target and task type 2026-03-24 09:14:05 +01:00
h3cx 0fb09dd342 Updated config struct to new slot occupied logic 2026-03-24 09:13:50 +01:00
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -10,11 +10,12 @@ enum module_id : uint8_t {
MOD_CFG,
MOD_GPS,
MOD_LCD,
MOD_COUNT
MOD_COUNT,
MOD_NULL
};
enum task_type : uint8_t {
TASK_NONE,
TASK_NULL,
TASK_DISPLAY_GPS_DEBUG,
TASK_CONFIG_TRACK_DETECT,
};
+1 -1
View File
@@ -8,8 +8,8 @@
struct vehicle_config{
uint16_t magic = CONFIG_MAGIC;
bool auto_detect_track = true;
uint8_t num_tracks = 0;
uint8_t track_fallback = 0;
bool track_slot_occupied[8] = {false};
};
struct lat_lng {