config: implement reading app-specific configs from profile
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
2023-02-18 18:44:44 +01:00
parent 7152d70a02
commit 9a36831658
5 changed files with 21 additions and 5 deletions

View File

@@ -37,6 +37,7 @@ struct ConfigService: public Task {
const CoordinateMapping* coordMap() const { return &m_jsonMap; }
const char* loadedProfile() const;
void overrideProfile(const char* profileName);
const char* getConfigValue(const char* key) const;
private:
HardwareConfig m_config;