From 0c9df6ccbdea89a2216dc11ccd3df2780f7d8378 Mon Sep 17 00:00:00 2001 From: Charles Crossan Date: Mon, 22 Feb 2021 20:33:42 -0500 Subject: [PATCH] disable the app by default --- src/plugins/esp32/EnvironmentalMeasurementPlugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/esp32/EnvironmentalMeasurementPlugin.cpp b/src/plugins/esp32/EnvironmentalMeasurementPlugin.cpp index 4add55f8..785fa75a 100644 --- a/src/plugins/esp32/EnvironmentalMeasurementPlugin.cpp +++ b/src/plugins/esp32/EnvironmentalMeasurementPlugin.cpp @@ -49,10 +49,10 @@ int32_t EnvironmentalMeasurementPlugin::runOnce() { Uncomment the preferences below if you want to use the plugin without having to configure it from the PythonAPI or WebUI. */ - radioConfig.preferences.environmental_measurement_plugin_enabled = 1; + /*radioConfig.preferences.environmental_measurement_plugin_enabled = 1; radioConfig.preferences.environmental_measurement_plugin_read_error_count_threshold = 5; radioConfig.preferences.environmental_measurement_plugin_update_interval = 30; - radioConfig.preferences.environmental_measurement_plugin_recovery_interval = 600; + radioConfig.preferences.environmental_measurement_plugin_recovery_interval = 600;*/ if (!radioConfig.preferences.environmental_measurement_plugin_enabled){ // If this plugin is not enabled, don't waste any OSThread time on it