diff --git a/sdk_core/include/livox_def.h b/sdk_core/include/livox_def.h index cd1582a..d627db3 100644 --- a/sdk_core/include/livox_def.h +++ b/sdk_core/include/livox_def.h @@ -643,7 +643,7 @@ typedef struct { uint8_t month; uint8_t day; uint8_t hour; - uint32_t mircrosecond; + uint32_t microsecond; } LidarSetUtcSyncTimeRequest; /** diff --git a/sdk_core/src/command_handler/command_impl.cpp b/sdk_core/src/command_handler/command_impl.cpp index 486b4ae..77d6876 100644 --- a/sdk_core/src/command_handler/command_impl.cpp +++ b/sdk_core/src/command_handler/command_impl.cpp @@ -209,7 +209,7 @@ bool ParseRmcTime(const char* rmc, uint16_t rmc_len, LidarSetUtcSyncTimeRequest* } utc_time_req->hour = hour; - utc_time_req->mircrosecond = (minute * 60 * 1000 + second * 1000) * 1000; + utc_time_req->microsecond = (minute * 60 * 1000 + second * 1000) * 1000; return true; }