1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-14 06:23:07 +01:00

allow to hide config values by calling setValue

This commit is contained in:
andreas
2023-10-27 21:32:55 +02:00
parent 51065acc8d
commit ff1bc50607

View File

@@ -46,7 +46,7 @@ void exampleInit(GwApi *api){
defaultXdrInt=current->getDefault();
}
//with the true parameter this config value will be hidden
//if you would like the user to be able to see this item, omit the "false", the config value will be read only
//if you would like the user to be able to see this item, omit the "true", the config value will be read only
api->getConfig()->setValue(GwConfigDefinitions::minXdrInterval,defaultXdrInt,true);
// example for a user defined help url that will be shown when clicking the help button
api->addCapability("HELP_URL", "https://www.wellenvogel.de");