浏览代码

Hide UA_fileExist behind UA_ENABLE_DISCOVERY_SEMAPHORE

Jose Cabral 5 年之前
父节点
当前提交
3027f6a5f7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/common/ua_freeRTOS.h

+ 1 - 1
arch/common/ua_freeRTOS.h

@@ -28,7 +28,7 @@
 # define UA_realloc realloc
 #endif
 
-#ifdef UA_ENABLE_DISCOVERY
+#ifdef UA_ENABLE_DISCOVERY_SEMAPHORE
 # ifndef UA_fileExists
 #  define UA_fileExists(X) (0) //file managing is not part of freeRTOS. If the system provides it, please define it before
 # endif // UA_fileExists