diff --git a/Core/Inc/sys_conf.h b/Core/Inc/sys_conf.h index 891bd1a..97656db 100644 --- a/Core/Inc/sys_conf.h +++ b/Core/Inc/sys_conf.h @@ -52,7 +52,7 @@ extern "C" { /** * @brief Enable trace logs */ -#define APP_LOG_ENABLED 0 +#define APP_LOG_ENABLED 1 /** * @brief Activate monitoring (probes) of some internal RF signals for debug purpose diff --git a/LoRaWAN/App/lora_app.c b/LoRaWAN/App/lora_app.c index 28c2707..152755e 100644 --- a/LoRaWAN/App/lora_app.c +++ b/LoRaWAN/App/lora_app.c @@ -59,7 +59,7 @@ volatile sts_cfg_nvm_t sts_cfg_nvm={sts_mtmcode1,sts_mtmcode2, sts_version, sts_ {0xFF,0xFF,0xFF,0xFF,0xFF, 0xFF,0xFF,0xFF,0xFF,0xFF, 0xFF,0xFF,0xFF,0xFF,0xFF, 0xFF,0xFF,0xFF,0xFF,0xFF} }; volatile uint32_t SamplingPeriodicity = 1000; //unit ms -volatile uint32_t HeartBeatPeriodicity = 120000; //unit ms +volatile uint32_t HeartBeatPeriodicity = 3600000; //unit ms #ifdef YUNHORN_STS_M7_ENABLED extern volatile uint8_t sensor_data_ready;