Skip to content

Commit

Permalink
remove misleading untrue comment (#213)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
thomas725 authored Jun 23, 2023
1 parent 68ba558 commit 9a933a4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/patches.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 9a933a4

Please sign in to comment.