include image index in debug
This commit is contained in:
parent
062cde54a0
commit
05043a37b1
|
@ -727,12 +727,12 @@ void MonitorStream::runStream() {
|
||||||
(monitor->GetFunction() == Monitor::MOCORD || monitor->GetFunction() == Monitor::MODECT)) {
|
(monitor->GetFunction() == Monitor::MOCORD || monitor->GetFunction() == Monitor::MODECT)) {
|
||||||
Debug(1, "Sending analysis image");
|
Debug(1, "Sending analysis image");
|
||||||
send_image = monitor->GetAlarmImage();
|
send_image = monitor->GetAlarmImage();
|
||||||
if ( !send_image ) {
|
if (!send_image) {
|
||||||
Debug(1, "Falling back");
|
Debug(1, "Falling back");
|
||||||
send_image = monitor->image_buffer[index];
|
send_image = monitor->image_buffer[index];
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Debug(1, "Sending regular image");
|
Debug(1, "Sending regular image index %d", index);
|
||||||
send_image = monitor->image_buffer[index];
|
send_image = monitor->image_buffer[index];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue