Skip to content

Commit 2ae0424

Browse files
committed
cli: initialize xlog_tracing for nuttx
this is merely a workaround.
1 parent 67f1c7d commit 2ae0424

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cli/main.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,10 @@ main(int argc, char *const *argv)
136136

137137
int exit_status = 1;
138138

139+
#if defined(__NuttX__)
140+
xlog_tracing = 0;
141+
#endif
142+
139143
state = malloc(sizeof(*state));
140144
if (state == NULL) {
141145
goto fail;

0 commit comments

Comments
 (0)