Skip to content

Commit 99e1702

Browse files
committed
Added switch's default option
Signed-off-by: Wonho Yun <[email protected]>
1 parent ebce0be commit 99e1702

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/dynamixel/dynamixel.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -635,6 +635,8 @@ std::string Dynamixel::DxlErrorToString(DxlError error_num)
635635
return "DLX_HARDWARE_ERROR";
636636
case DXL_REBOOT_FAIL:
637637
return "DXL_REBOOT_FAIL";
638+
default:
639+
return "UNKNOWN_ERROR";
638640
}
639641
}
640642

0 commit comments

Comments
 (0)