Commit e84d48604c00cec457884f621afe2181823f00c0

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

모드버스 오류 코드가 불명확하기에 관련해 추가

app/app-prime-modbus/app/app-prime-modbus/rs485_serial.c
@@ -560,6 +560,9 @@ static void on_receive_data( void){ @@ -560,6 +560,9 @@ static void on_receive_data( void){
560 case 0x03 : on_rcv_control(); break; 560 case 0x03 : on_rcv_control(); break;
561 case 0x04 : on_rcv_status(); break; 561 case 0x04 : on_rcv_status(); break;
562 case 0x06 : on_rcv_echo(); break; 562 case 0x06 : on_rcv_echo(); break;
  563 + case 0x83 :
  564 + case 0x84 :
  565 + case 0x86 :
563 case 0x80 : on_rcv_80_code(); break; 566 case 0x80 : on_rcv_80_code(); break;
564 default : 567 default :
565 printf( "receive unknown func code 0x%x\n", rx_data[1] & 0xff); 568 printf( "receive unknown func code 0x%x\n", rx_data[1] & 0xff);