#if corrections timesync

This commit is contained in:
Verkehrsrot committed 2019-03-31 15:47:19 +02:00
1 parent b5395661fc
commit edfd8b1fac
2 files changed
+7 -1

No files matched your search

+6
View File
@@ -12,6 +12,12 @@ static const char TAG[] = "lora";
#warning CLOCK_ERROR_PROCENTAGE value in lmic_config.h is too high; values > 7 will cause side effects #warning CLOCK_ERROR_PROCENTAGE value in lmic_config.h is too high; values > 7 will cause side effects
#endif #endif
#if (TIME_SYNC_LORAWAN)
#ifndef LMIC_ENABLE_DeviceTimeReq
#define LMIC_ENABLE_DeviceTimeReq 1
#endif
#endif
osjob_t sendjob; osjob_t sendjob;
QueueHandle_t LoraSendQueue; QueueHandle_t LoraSendQueue;
+1 -1
View File
@@ -9,7 +9,7 @@ algorithm in applications without granted license by the patent holder.
*/ */
#ifdef TIME_SYNC_TIMESERVER #if(TIME_SYNC_TIMESERVER)
#include "timesync.h" #include "timesync.h"