extras/sntp: SNTP_LOGD_WITH_PRINTF enables logging

Can continue to define own SNTP_LOGD
This commit is contained in:
Jeff Kletsky 2018-02-08 20:56:38 -08:00
parent cf112955ed
commit 86fa1add10
2 changed files with 10 additions and 1 deletions

View file

@ -5,4 +5,9 @@ INC_DIRS += $(sntp_ROOT)
# args for passing into compile rule generation
sntp_SRC_DIR = $(sntp_ROOT)
# For SNTP logging, either supply own SNTP_LOGD
# or define SNTP_LOGD_WITH_PRINTF (see sntp_fun.c)
# sntp_CFLAGS = $(CFLAGS) -DSNTP_LOGD_WITH_PRINTF
$(eval $(call component_compile_rules,sntp))