Implement RGBController_Network packet sending for current set of RGBController commands

This commit is contained in:
Adam Honse 2020-04-24 18:45:01 -05:00
parent e2dfcd5b0f
commit 0270c745ce
6 changed files with 148 additions and 22 deletions

View file

@ -288,7 +288,7 @@ void NetworkServer::SendReply_ControllerData(SOCKET * client_sock, unsigned int
reply_hdr.pkt_magic[2] = 'G';
reply_hdr.pkt_magic[3] = 'B';
reply_hdr.pkt_dev_idx = 0;
reply_hdr.pkt_dev_idx = dev_idx;
reply_hdr.pkt_id = NET_PACKET_ID_REQUEST_CONTROLLER_DATA;
reply_hdr.pkt_size = reply_size;