Skip to content

Commit

Permalink
chore(hesai_hw_interface): fix spelling errors (#43)
Browse files Browse the repository at this point in the history
Signed-off-by: David Wong <[email protected]>
  • Loading branch information
drwnz authored Jul 30, 2023
1 parent 2249891 commit 189d7e2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -891,13 +891,13 @@ class HesaiHwInterface : NebulaHwInterfaceBase
int network,
int logAnnounceInterval,
int logSyncInterval,
int logMinDelatReqInterval);
int logMinDelayReqInterval);
HesaiStatus SetPtpConfigSyncHttp(int profile,
int domain,
int network,
int logAnnounceInterval,
int logSyncInterval,
int logMinDelatReqInterval);
int logMinDelayReqInterval);
HesaiStatus SetSyncAngleSyncHttp(
std::shared_ptr<boost::asio::io_context> ctx,
int enable,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2591,7 +2591,7 @@ HesaiStatus HesaiHwInterface::SetPtpConfigSyncHttp(
int network,
int logAnnounceInterval,
int logSyncInterval,
int logMinDelatReqInterval)
int logMinDelayReqInterval)
{
std::unique_ptr<::drivers::tcp_driver::HttpClientDriver> hcd;
auto st = GetHttpClientDriverOnce(ctx, hcd);
Expand All @@ -2609,7 +2609,7 @@ HesaiStatus HesaiHwInterface::SetPtpConfigSyncHttp(
"\"LogMinDelayReqInterval\": %d," \
"\"tsn_switch\": %d" \
"}")
% profile % domain % network % logAnnounceInterval % logSyncInterval %logMinDelatReqInterval % 0
% profile % domain % network % logAnnounceInterval % logSyncInterval % logMinDelayReqInterval % 0
).str());
ctx->run();
PrintInfo(response);
Expand All @@ -2621,15 +2621,15 @@ HesaiStatus HesaiHwInterface::SetPtpConfigSyncHttp(int profile,
int network,
int logAnnounceInterval,
int logSyncInterval,
int logMinDelatReqInterval)
int logMinDelayReqInterval)
{
return SetPtpConfigSyncHttp(std::make_shared<boost::asio::io_context>(),
profile,
domain,
network,
logAnnounceInterval,
logSyncInterval,
logMinDelatReqInterval);
logMinDelayReqInterval);
}

HesaiStatus HesaiHwInterface::SetSyncAngleSyncHttp(
Expand Down

0 comments on commit 189d7e2

Please sign in to comment.