File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
components/bt/common/ble_log Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -718,6 +718,7 @@ static int spi_out_ts_sync_init(void)
718718gpio_init_failed :
719719#if !SPI_OUT_TS_SYNC_SLEEP_SUPPORT
720720 esp_timer_delete (ts_sync_timer );
721+ ts_sync_timer = NULL ;
721722timer_init_failed :
722723#endif // !SPI_OUT_TS_SYNC_SLEEP_SUPPORT
723724 return -1 ;
@@ -733,6 +734,7 @@ static void spi_out_ts_sync_deinit(void)
733734 // Deinitialize timestamp synchronizer
734735 esp_timer_stop (ts_sync_timer );
735736 esp_timer_delete (ts_sync_timer );
737+ ts_sync_timer = NULL ;
736738#endif // !SPI_OUT_TS_SYNC_SLEEP_SUPPORT
737739
738740 // Deinitialize sync IO
@@ -959,6 +961,7 @@ void ble_log_spi_out_deinit(void)
959961#if SPI_OUT_FLUSH_TIMER_ENABLED
960962 esp_timer_stop (flush_timer );
961963 esp_timer_delete (flush_timer );
964+ flush_timer = NULL ;
962965#endif // SPI_OUT_FLUSH_TIMER_ENABLED
963966
964967 // Drain all queued transactions
You can’t perform that action at this time.
0 commit comments