mirror of https://github.com/commaai/openpilot.git
loggerd: pass `encoder_info` by reference (#28694)
old-commit-hash: 36fe84ccdd
This commit is contained in:
parent
9be7d252b8
commit
0ac70b51fa
|
@ -58,7 +58,7 @@ struct RemoteEncoder {
|
|||
bool seen_first_packet = false;
|
||||
};
|
||||
|
||||
int handle_encoder_msg(LoggerdState *s, Message *msg, std::string &name, struct RemoteEncoder &re, EncoderInfo encoder_info) {
|
||||
int handle_encoder_msg(LoggerdState *s, Message *msg, std::string &name, struct RemoteEncoder &re, const EncoderInfo &encoder_info) {
|
||||
int bytes_count = 0;
|
||||
|
||||
// extract the message
|
||||
|
|
Loading…
Reference in New Issue