#if corrections timesync

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

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
#endif
#if (TIME_SYNC_LORAWAN)
#ifndef LMIC_ENABLE_DeviceTimeReq
#define LMIC_ENABLE_DeviceTimeReq 1
#endif
#endif
osjob_t sendjob;
QueueHandle_t LoraSendQueue;

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"