Skip to content

Commit 72d5868

Browse files
committed
Compatible with previous type definitions.
1 parent 666a3d4 commit 72d5868

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

sdk/include/rplidar_driver.h

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,12 @@ namespace rp { namespace standalone{ namespace rplidar {
4444
using namespace sl;
4545
typedef LidarScanMode RplidarScanMode;
4646

47-
//enum {
48-
// DRIVER_TYPE_SERIALPORT = 0x0,
49-
// DRIVER_TYPE_TCP = 0x1,
50-
// DRIVER_TYPE_UDP = 0x2,
51-
//};
47+
enum {
48+
DRIVER_TYPE_SERIALPORT = 0x0,
49+
DRIVER_TYPE_TCP = 0x1,
50+
DRIVER_TYPE_UDP = 0x2,
51+
};
52+
5253
class RPlidarDriver {
5354
public:
5455
enum {

0 commit comments

Comments
 (0)