Skip to content

Commit 3ba6726

Browse files
jtguggedaljhn-nordic
authored andcommitted
lib: trace_backends: flash: Unset is_initialized in deinit()
Set is_initialized to false when the deinit() API is called. Signed-off-by: Jan Tore Guggedal <[email protected]>
1 parent 0d91de3 commit 3ba6726

File tree

1 file changed

+3
-0
lines changed
  • lib/nrf_modem_lib/trace_backends/flash

1 file changed

+3
-0
lines changed

lib/nrf_modem_lib/trace_backends/flash/flash.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,9 @@ int trace_backend_clear(void)
429429
int trace_backend_deinit(void)
430430
{
431431
buffer_flush_to_flash();
432+
433+
is_initialized = false;
434+
432435
return 0;
433436
}
434437

0 commit comments

Comments
 (0)