mirror of
https://github.com/linux-can/can-utils.git
synced 2026-09-22 16:09:52 +02:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6dd83b755e |
@@ -1630,6 +1630,7 @@
|
||||
int expected_frame_count = 0;
|
||||
int frames_received = 0;
|
||||
uint8_t *file_buffer = NULL;
|
||||
long bytes_written = 0;
|
||||
|
||||
/* Variables for progress bar */
|
||||
int progress_bar_width = 50;
|
||||
@@ -1849,6 +1850,7 @@
|
||||
if (bytes_to_write > 0) {
|
||||
memcpy(file_buffer + offset, frame.data,
|
||||
bytes_to_write);
|
||||
bytes_written += bytes_to_write;
|
||||
}
|
||||
|
||||
frames_received++;
|
||||
|
||||
Reference in New Issue
Block a user