Skip to content

Commit f762c5f

Browse files
author
Jesus Lopez Garcia
committed
Send data to goggles
1 parent d1c3620 commit f762c5f

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

jni/msp_displayport_mux.c

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -219,13 +219,8 @@ static void rx_msp_callback(msp_msg_t *msp_message)
219219
case MSP_CMD_VTX_CONFIG: {
220220
printf("Received VTX CONFIG message...\n");
221221
printf("data: %d %d %d \n", msp_message->payload[0], msp_message->payload[1], msp_message->payload[2]);
222-
//INFO: Here we should get the MSP message with the vtx information, channel?
223-
//INFO: Do we need to ask for it?
224-
//INFO: Can we use data_fd for this already instad of open a new one?
225222
//INFO: Write the message to the socket
226-
//uint16_t size = msp_data_from_msg(message_buffer, msp_message);
227-
// memset(&data, 0, sizeof(data)); // Missing the data from somewhere
228-
// write(data_socket_fd, &data, sizeof(data));
223+
write(socket_fd, &msp_message, sizeof(msp_message));
229224
}
230225
default: {
231226
uint16_t size = msp_data_from_msg(message_buffer, msp_message);

0 commit comments

Comments
 (0)