Skip to content

Commit

Permalink
lint: fix lint problems in canbus
Browse files Browse the repository at this point in the history
  • Loading branch information
startcode authored and lianglia-apollo committed Oct 11, 2018
1 parent 9cf8f79 commit 5494ba9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion modules/canbus/canbus_component.cc
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ bool CanbusComponent::Init() {
AERROR << "Failed to init vehicle controller.";
return false;
}
AINFO << "The vehicle controller is successfully initialized with canbus conf as : " << canbus_conf_.vehicle_parameter().ShortDebugString();
AINFO << "The vehicle controller is successfully initialized with canbus "
"conf as : "
<< canbus_conf_.vehicle_parameter().ShortDebugString();

cybertron::ReaderConfig guardian_cmd_reader_config;
guardian_cmd_reader_config.channel_name = FLAGS_guardian_topic;
Expand Down
2 changes: 1 addition & 1 deletion modules/canbus/vehicle/lexus/protocol/shift_rpt_228.cc
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ Shift_rpt_228::Manual_inputType Shiftrpt228::manual_input(
Byte t0(bytes + 1);
int32_t x = t0.get_byte(0, 8);

//TODO(Snehagn) : temporary fix until AS to fix in the firmware
// TODO(Snehagn) : temporary fix until AS to fix in the firmware
if (x == 255) {
x = 0;
}
Expand Down

0 comments on commit 5494ba9

Please sign in to comment.