Browse Source

Hide UA_fileExist behind UA_ENABLE_DISCOVERY_SEMAPHORE

Jose Cabral 5 years ago
parent
commit
3027f6a5f7
1 changed files with 1 additions and 1 deletions
  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