Skip to content

Commit

Permalink
ci(pre-commit): autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Dec 2, 2024
1 parent 3007f2d commit 97bbb78
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,8 @@ Status HesaiHwInterface::set_ptp_lock_offset(uint8_t lock_offset_us)
uint8_t HesaiHwInterface::get_ptp_lock_offset()

Check warning on line 714 in nebula_hw_interfaces/src/nebula_hesai_hw_interfaces/hesai_hw_interface.cpp

View check run for this annotation

Codecov / codecov/patch

nebula_hw_interfaces/src/nebula_hesai_hw_interfaces/hesai_hw_interface.cpp#L714

Added line #L714 was not covered by tests
{
auto response_or_err = send_receive(g_ptp_command_get_ptp_lock_offset);

Check warning on line 716 in nebula_hw_interfaces/src/nebula_hesai_hw_interfaces/hesai_hw_interface.cpp

View check run for this annotation

Codecov / codecov/patch

nebula_hw_interfaces/src/nebula_hesai_hw_interfaces/hesai_hw_interface.cpp#L716

Added line #L716 was not covered by tests
auto response = response_or_err.value_or_throw(pretty_print_ptc_error(response_or_err.error_or({})));
auto response =
response_or_err.value_or_throw(pretty_print_ptc_error(response_or_err.error_or({})));
return check_size_and_parse<uint8_t>(response);

Check warning on line 719 in nebula_hw_interfaces/src/nebula_hesai_hw_interfaces/hesai_hw_interface.cpp

View check run for this annotation

Codecov / codecov/patch

nebula_hw_interfaces/src/nebula_hesai_hw_interfaces/hesai_hw_interface.cpp#L718-L719

Added lines #L718 - L719 were not covered by tests
}

Expand Down

0 comments on commit 97bbb78

Please sign in to comment.