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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user