mirror of
https://github.com/Lurkars/esp-ena.git
synced 2024-11-22 10:06:11 +01:00
bugfix: compiling without hourly config
This commit is contained in:
parent
31a4e483b3
commit
c91bc02677
@ -28,10 +28,21 @@
|
|||||||
#define ENA_EKE_PROXY_LOG "ESP-ENA-eke-proxy" // TAG for Logging
|
#define ENA_EKE_PROXY_LOG "ESP-ENA-eke-proxy" // TAG for Logging
|
||||||
|
|
||||||
#define ENA_EKE_PROXY_KEYFILES_DAILY_URL CONFIG_ENA_EKE_PROXY_KEYFILES_DAILY_URL
|
#define ENA_EKE_PROXY_KEYFILES_DAILY_URL CONFIG_ENA_EKE_PROXY_KEYFILES_DAILY_URL
|
||||||
#define ENA_EKE_PROXY_KEYFILES_HOURLY CONFIG_ENA_EKE_PROXY_KEYFILES_HOURLY
|
|
||||||
|
#ifdef CONFIG_ENA_EKE_PROXY_KEYFILES_HOURLY
|
||||||
|
#define ENA_EKE_PROXY_KEYFILES_HOURLY true
|
||||||
|
#else
|
||||||
|
#define ENA_EKE_PROXY_KEYFILES_HOURLY false
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if ENA_EKE_PROXY_KEYFILES_HOURLY
|
||||||
#define ENA_EKE_PROXY_KEYFILES_HOURLY_URL CONFIG_ENA_EKE_PROXY_KEYFILES_HOURLY_URL
|
#define ENA_EKE_PROXY_KEYFILES_HOURLY_URL CONFIG_ENA_EKE_PROXY_KEYFILES_HOURLY_URL
|
||||||
|
#else
|
||||||
|
#define ENA_EKE_PROXY_KEYFILES_HOURLY_URL "/%s/%u/%u/%u"
|
||||||
|
#endif
|
||||||
|
|
||||||
#define ENA_EKE_PROXY_KEYFILES_DAILY_FORMAT CONFIG_ENA_EKE_PROXY_KEYFILES_DAILY_FORMAT
|
#define ENA_EKE_PROXY_KEYFILES_DAILY_FORMAT CONFIG_ENA_EKE_PROXY_KEYFILES_DAILY_FORMAT
|
||||||
#define ENA_EKE_PROXY_KEYFILES_UPLOAD_URL CONFIG_ENA_EKE_PROXY_KEYFILES_UPLOAD_URL
|
#define ENA_EKE_PROXY_KEYFILES_UPLOAD_URL CONFIG_ENA_EKE_PROXY_KEYFILES_UPLOAD_URL
|
||||||
#define ENA_EKE_PROXY_DEFAULT_LIMIT CONFIG_ENA_EKE_PROXY_KEY_LIMIT
|
#define ENA_EKE_PROXY_DEFAULT_LIMIT CONFIG_ENA_EKE_PROXY_KEY_LIMIT
|
||||||
#define ENA_EKE_PROXY_MAX_PAST_DAYS CONFIG_ENA_EKE_PROXY_MAX_PAST_DAYS // ENA_STORAGE_TEK_MAX
|
#define ENA_EKE_PROXY_MAX_PAST_DAYS CONFIG_ENA_EKE_PROXY_MAX_PAST_DAYS // ENA_STORAGE_TEK_MAX
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user