Skip to content

Commit 5bb8c5b

Browse files
committed
Oops: use computed fps variable in log message
1 parent 08dd27b commit 5bb8c5b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

components/StreamServer/StreamServer/StreamServer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ esp_err_t StreamHelpers::stream(httpd_req_t *req)
9595
{
9696
fps = (frame_window * 1000) / window_ms;
9797
}
98-
ESP_LOGI(STREAM_SERVER_TAG, "%i Frames Size: %uKB, Time: %lims (%lifps)",frame_window, _jpg_buf_len / 1024, window_ms, 1000 * frame_window / window_ms);
98+
ESP_LOGI(STREAM_SERVER_TAG, "%i Frames Size: %uKB, Time: %lims (%lifps)",frame_window, _jpg_buf_len / 1024, window_ms, fps);
9999
}
100100
}
101101
}

0 commit comments

Comments
 (0)