Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: rplidar/RPlidar.cpp
- Revision:
- 1:e165afe8b120
- Parent:
- 0:c25c4b67b6a1
- Child:
- 2:faef6636d456
diff -r c25c4b67b6a1 -r e165afe8b120 rplidar/RPlidar.cpp --- a/rplidar/RPlidar.cpp Mon May 03 14:49:18 2021 +0000 +++ b/rplidar/RPlidar.cpp Wed May 05 13:55:51 2021 +0000 @@ -60,7 +60,7 @@ newMeasurement = 1; - /*if(!mail_box.full()) + if(!mail_box.full()) { struct RPLidarMeasurement current = getCurrentPoint(); struct RPLidarMeasurement *mail = mail_box.alloc(); @@ -100,7 +100,7 @@ } - }*/ + } } mutex_measurements.unlock(); wait_us(2000);