fix: typo in definitions and command_impl mircrosecond -> microsecond #110

Merged
kamiccolo merged 1 commits from master into master 2021-07-16 12:35:19 +02:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -643,7 +643,7 @@ typedef struct {
uint8_t month;
uint8_t day;
uint8_t hour;
uint32_t mircrosecond;
uint32_t microsecond;
} LidarSetUtcSyncTimeRequest;
/**
@@ -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;
}