From 057509637a77d415c5f8c7187e02bd96598d3eca Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Sun, 28 Jan 2018 15:16:06 -0500 Subject: [PATCH] TUrn a warning into a debug --- src/zm_monitor.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/zm_monitor.cpp b/src/zm_monitor.cpp index 980a41645..5ba6ec688 100644 --- a/src/zm_monitor.cpp +++ b/src/zm_monitor.cpp @@ -479,12 +479,12 @@ Debug(2,"last_write_index(%d), last_write_time(%d)", shared_data->last_write_ind while( ( shared_data->last_write_index == (unsigned int)image_buffer_count ) && - ( shared_data->last_write_time == 0) + ( shared_data->last_write_time == 0 ) && ( !zm_terminate ) ) { - Warning( "Waiting for capture daemon" ); - sleep( 1 ); + Debug(1, "Waiting for capture daemon"); + sleep(1); } ref_image.Assign( width, height, camera->Colours(), camera->SubpixelOrder(), image_buffer[shared_data->last_write_index].image->Buffer(), camera->ImageSize()); adaptive_skip = true;