diff --git a/Client/RSP5(Motor)/src/CANController.cpp b/Client/RSP5(Motor)/src/CANController.cpp index 60f2a25..085bb1e 100644 --- a/Client/RSP5(Motor)/src/CANController.cpp +++ b/Client/RSP5(Motor)/src/CANController.cpp @@ -84,14 +84,11 @@ void CANController::processMessages() { motor.setDegree(150); sleep(MOTOR_DELAY); - frame.can_id = 0x002; + frame.can_id = 0x003; frame.can_dlc = 3; frame.data[0] = 0b00000100; sendCANMessage(frame); - frame.can_id = 0x001; - sendCANMessage(frame); - printf("자동 잠금 - 모터 구동\n"); motor.setDegree(50); printf("잠금 장치 구동 완료\n"); @@ -110,4 +107,4 @@ void CANController::processMessages() { } } } -} \ No newline at end of file +}