SHould reset state as well as shared_data->state
This commit is contained in:
parent
eda96d24e0
commit
a676f7c407
|
@ -1009,7 +1009,7 @@ bool Monitor::connect() {
|
|||
shared_data->signal = false;
|
||||
shared_data->capture_fps = 0.0;
|
||||
shared_data->analysis_fps = 0.0;
|
||||
shared_data->state = IDLE;
|
||||
shared_data->state = state = IDLE;
|
||||
shared_data->last_write_index = image_buffer_count;
|
||||
shared_data->last_read_index = image_buffer_count;
|
||||
shared_data->last_write_time = 0;
|
||||
|
|
Loading…
Reference in New Issue