config: fix crashes, implement fallback profiles

This commit is contained in:
2023-02-19 18:41:55 +01:00
parent de5d3e836a
commit bfbbeffcfd
2 changed files with 44 additions and 22 deletions

View File

@@ -44,6 +44,6 @@ private:
JsonCoordinateMapping m_jsonMap;
const char* m_overrideProfile = nullptr;
void loadProfile(const char* name);
void loadMap(const String& mapName);
bool loadProfile(const char* name);
bool loadMap(const String& mapName);
};