Skip to content

Commit a1077c0

Browse files
Fix overzealous stripping of comments in #3181 (#3182)
Lost an ifndef(FREERTOS) in the lwip mutex
1 parent d81478b commit a1077c0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cores/rp2040/lwip_wrap.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,13 @@ class LWIPMutex {
5858
}
5959

6060
~LWIPMutex() {
61+
#if !defined(__FREERTOS)
6162
if (ethernet_arch_lwip_end) {
6263
ethernet_arch_lwip_end();
6364
} else {
6465
recursive_mutex_exit(&__lwipMutex);
6566
}
67+
#endif
6668
}
6769
};
6870

0 commit comments

Comments
 (0)