fix: typo in definitions and command_impl mircrosecond -> microsecond

This commit is contained in:
Kamiccolo
2021-03-16 13:21:58 +02:00
parent 7cf759a760
commit 2168e7f383
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;
}