Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 76710cf

Browse filesBrowse files
committed
Initialize with NULL
1 parent a0c6ae3 commit 76710cf
Copy full SHA for 76710cf

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎cores/esp32/cbuf.h

Copy file name to clipboardExpand all lines: cores/esp32/cbuf.h
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ class cbuf
5858
cbuf *next;
5959

6060
protected:
61-
RingbufHandle_t _buf;
61+
RingbufHandle_t _buf = NULL;
6262
#if !CONFIG_DISABLE_HAL_LOCKS
63-
SemaphoreHandle_t _lock;
63+
SemaphoreHandle_t _lock = NULL;
6464
#endif
6565

6666
};

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.