Skip to content

Commit

Permalink
Fix units
Browse files Browse the repository at this point in the history
  • Loading branch information
andyblarblar committed Jan 30, 2024
1 parent 8d73104 commit 73a10bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/src/lidar.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ void loop() {
logger.printf("*****START SCAN******\n");
for (auto &pt: scan) {
logger.printf("Point: (%hu,%hu)\n", (uint16_t) pt.x, (uint16_t) pt.y);
logger.printf("Point: (%hu,%hu)\n", (uint16_t) pt.x * 1000, (uint16_t) pt.y * 1000);
}
logger.printf("*****END SCAN******\n\n");
}
Expand Down

0 comments on commit 73a10bf

Please sign in to comment.