Skip to content

Commit

Permalink
Update can.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
lucianpls committed Nov 15, 2023
1 parent bf2a0f7 commit 4362a99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mrf_apps/can.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -336,16 +336,16 @@ int can(const options &opt) {
}
BIT_SET(line, bit_pos);
}
line += 4; // Points to the header end
}
line += 4; // Points to the header end
fclose(in_idx);

#undef BIT_SET

if (!opt.quiet)
cout << "Index packed from " << in_size << " to " << FTELL(out_idx) << endl;

// line should point to the last line or the one after the last
// line should point to the end of header
assert(header.size() == line);

// swap all header values to big endian
Expand Down

0 comments on commit 4362a99

Please sign in to comment.