mirror of
https://github.com/BotChain-Robots/firmware.git
synced 2026-07-08 09:37:21 +02:00
23 lines
457 B
C++
23 lines
457 B
C++
//
|
|
// Created by Johnathon Slightham on 2025-06-12.
|
|
//
|
|
|
|
#ifndef CONFIGMANAGER_H
|
|
#define CONFIGMANAGER_H
|
|
|
|
#include "constants/config.h"
|
|
#include "flatbuffers_generated/RobotModule_generated.h"
|
|
|
|
class ConfigManager {
|
|
public:
|
|
static void init_config();
|
|
|
|
static uint16_t get_module_id();
|
|
static ModuleType get_module_type();
|
|
|
|
static void set_module_id(uint16_t id);
|
|
static void set_module_type(ModuleType type);
|
|
};
|
|
|
|
#endif //CONFIGMANAGER_H
|