mirror of
https://github.com/okalachev/flix.git
synced 2026-01-12 22:17:45 +00:00
Minor cleanups
This commit is contained in:
@@ -54,9 +54,9 @@ void sendMavlink() {
|
||||
}
|
||||
}
|
||||
|
||||
inline void sendMessage(const void *msg) {
|
||||
void sendMessage(const void *msg) {
|
||||
uint8_t buf[MAVLINK_MAX_PACKET_LEN];
|
||||
uint16_t len = mavlink_msg_to_send_buffer(buf, (mavlink_message_t *)msg);
|
||||
int len = mavlink_msg_to_send_buffer(buf, (mavlink_message_t *)msg);
|
||||
sendWiFi(buf, len);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user