From 9a933a41b906e5a3b33a1d00327f81f7e48d5bed Mon Sep 17 00:00:00 2001 From: thomas725 <68635351+thomas725@users.noreply.github.com> Date: Fri, 23 Jun 2023 09:58:50 +0200 Subject: [PATCH] remove misleading untrue comment (#213) judging from the code and from some issue I've read in the past the statement that the link_patches() call is a no_op with idf_version >=4.4 is false. --- src/patches.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/patches.rs b/src/patches.rs index 6769bf281ba..be99782c824 100644 --- a/src/patches.rs +++ b/src/patches.rs @@ -10,8 +10,6 @@ pub struct PatchesRef(*mut core::ffi::c_void, *mut core::ffi::c_void); /// A hack to make sure that the rwlock implementation is linked to the final executable /// Call this function once e.g. in the beginning of your main function -/// -/// This function will become no-op once ESP-IDF V4.4 is released pub fn link_patches() -> PatchesRef { #[cfg(all(feature = "std", esp_idf_version = "4.3"))] let rwlock = pthread_rwlock::link_patches();