diff --git a/app/app-prime-modbus/app/app-prime-modbus/rs485_serial.c b/app/app-prime-modbus/app/app-prime-modbus/rs485_serial.c index 7fc630a..653414d 100644 --- a/app/app-prime-modbus/app/app-prime-modbus/rs485_serial.c +++ b/app/app-prime-modbus/app/app-prime-modbus/rs485_serial.c @@ -468,7 +468,7 @@ static void on_rcv_status( void){ // 변수 처리 oven.header = HDR_OVEN_STATE; - memcpy( ( char *)&oven.state, &rx_data[3], sizeof(oven_state_t) - sizeof(oven.state.error_cnt)); // 0x32 : ���� ���� ���� 2����Ʈ ���� + memcpy( ( char *)&oven.state, &rx_data[3], sizeof(oven_state_t) - sizeof(oven.state.error_cnt)); // 0x32 : 오븐 상태 워드 2바이트 개수 bit_onoff21 = oven.state.onoff_state1; // 현재 오븐 상태를 반영 bit_onoff22 = oven.state.onoff_state2; // 현재 오븐 상태를 반영 @@ -491,7 +491,7 @@ static void on_rcv_status( void){ bit_ndx <<= 1; } - // GUI�� ���� ī��Ʈ ���� + // GUI로 에러 카우트 전달 for ( ndx = 0; ndx < 16; ndx++){ oven.state.error_cnt[ndx] = ary_error_cnt[ndx]; } @@ -743,7 +743,7 @@ int rs485_timer( msec_t tm_curr){ -----------------------------------------------------------------------------*/ int rs845_run_start( void){ - run_step_work( STEP_CONTROL); // ���� ���� ���¸� ���ϴ� �۾����� ���� + run_step_work( STEP_CONTROL); // 오븐 제어 상태를 구하는 작업부터 시작 return 0; }