Commit d536fdeb48d7e063865356f44dd6d2f5bc0f8baa

Authored by 김태훈
1 parent 65aaca7a62
Exists in master and in 2 other branches fhd, fhd-demo

한글 깨짐 수정

app/app-prime-modbus/app/app-prime-modbus/rs485_serial.c
@@ -468,7 +468,7 @@ static void on_rcv_status( void){ @@ -468,7 +468,7 @@ static void on_rcv_status( void){
468 // 변수 처리 468 // 변수 처리
469 469
470 oven.header = HDR_OVEN_STATE; 470 oven.header = HDR_OVEN_STATE;
471 - memcpy( ( char *)&oven.state, &rx_data[3], sizeof(oven_state_t) - sizeof(oven.state.error_cnt)); // 0x32 : ���� ���� ���� 2����Ʈ ���� 471 + memcpy( ( char *)&oven.state, &rx_data[3], sizeof(oven_state_t) - sizeof(oven.state.error_cnt)); // 0x32 : 오븐 상태 워드 2바이트 개수
472 472
473 bit_onoff21 = oven.state.onoff_state1; // 현재 오븐 상태를 반영 473 bit_onoff21 = oven.state.onoff_state1; // 현재 오븐 상태를 반영
474 bit_onoff22 = oven.state.onoff_state2; // 현재 오븐 상태를 반영 474 bit_onoff22 = oven.state.onoff_state2; // 현재 오븐 상태를 반영
@@ -491,7 +491,7 @@ static void on_rcv_status( void){ @@ -491,7 +491,7 @@ static void on_rcv_status( void){
491 bit_ndx <<= 1; 491 bit_ndx <<= 1;
492 } 492 }
493 493
494 - // GUI�� ���� ī��Ʈ ���� 494 + // GUI로 에러 카우트 전달
495 for ( ndx = 0; ndx < 16; ndx++){ 495 for ( ndx = 0; ndx < 16; ndx++){
496 oven.state.error_cnt[ndx] = ary_error_cnt[ndx]; 496 oven.state.error_cnt[ndx] = ary_error_cnt[ndx];
497 } 497 }
@@ -743,7 +743,7 @@ int rs485_timer( msec_t tm_curr){ @@ -743,7 +743,7 @@ int rs485_timer( msec_t tm_curr){
743 -----------------------------------------------------------------------------*/ 743 -----------------------------------------------------------------------------*/
744 int rs845_run_start( void){ 744 int rs845_run_start( void){
745 745
746 - run_step_work( STEP_CONTROL); // ���� ���� ���¸� ���ϴ� �۾����� ���� 746 + run_step_work( STEP_CONTROL); // 오븐 제어 상태를 구하는 작업부터 시작
747 747
748 return 0; 748 return 0;
749 } 749 }