From 9b90d5a112dd9c06136bba3c38ff10f35f9b1b9c Mon Sep 17 00:00:00 2001 From: rbaron Date: Fri, 24 Sep 2021 19:08:10 +0200 Subject: [PATCH] Disabled debug and set deep sleep time to 5 minutes --- code/b-parasite/config/prst_config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/b-parasite/config/prst_config.h b/code/b-parasite/config/prst_config.h index 7657609..f0370b8 100644 --- a/code/b-parasite/config/prst_config.h +++ b/code/b-parasite/config/prst_config.h @@ -13,7 +13,7 @@ #define PRST_LED_PIN NRF_GPIO_PIN_MAP(0, 28) // Deep sleep. -#define PRST_DEEP_SLEEP_IN_SECONDS 2 +#define PRST_DEEP_SLEEP_IN_SECONDS 300 // Analog to digital converter (ADC). // Prints out ADC debug info, such as the values read for battery and soil @@ -63,7 +63,7 @@ #define PRST_PHOTO_OUT_PIN NRF_GPIO_PIN_MAP(0, 2) // Whether to produce debug messages for the LDR -#define PRST_ADC_PHOTO_DEBUG 1 +#define PRST_ADC_PHOTO_DEBUG 0 #endif // End of version-specific configuration.