File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -90,6 +90,8 @@ enum fujiCommandID_t {
9090 FUJICMD_GETTZTIME = 0x9A ,
9191 FUJICMD_SETTZ = 0x99 ,
9292 FUJICMD_GETTIME = 0x93 ,
93+ FUJICMD_JSON_QUERY = 0x81 ,
94+ FUJICMD_JSON_PARSE = 0x80 ,
9395 FUJICMD_GET_REMOTE = 0x72 , // r
9496 FUJICMD_CLOSE_CLIENT = 0x63 , // c
9597 FUJICMD_TIMER = 0x5A , // Z
@@ -108,6 +110,7 @@ enum fujiCommandID_t {
108110 FUJICMD_PERCOM_READ = 0x4E , // N
109111 FUJICMD_UNLISTEN = 0x4D , // M
110112 FUJICMD_LISTEN = 0x4C , // L
113+ FUJICMD_GET_ERROR = 0x45 , // E
111114 FUJICMD_SET_DESTINATION = 0x44 , // D
112115 FUJICMD_SET_DUMP = 0x44 , // D
113116 FUJICMD_CLOSE = 0x43 , // C
Original file line number Diff line number Diff line change @@ -741,7 +741,7 @@ void adamNetwork::adamnet_control_ack()
741741void adamNetwork::adamnet_control_send ()
742742{
743743 uint16_t s = adamnet_recv_length (); // receive length
744- fujiCommandID_t c = adamnet_recv (); // receive command
744+ fujiCommandID_t c = (fujiCommandID_t) adamnet_recv (); // receive command
745745
746746 s--; // Because we've popped the command off the stack
747747
@@ -811,6 +811,8 @@ void adamNetwork::adamnet_control_send()
811811 case FUJICMD_QUERY:
812812 json_query (s);
813813 break ;
814+ default :
815+ break ;
814816 }
815817 break ;
816818 default :
You can’t perform that action at this time.
0 commit comments