Fixed style issue with Astyle 3.1

This commit is contained in:
Bob-F
2018-08-06 13:32:36 +02:00
committed by Beat Küng
parent 2ece14bad1
commit adf411fdd8
9 changed files with 19 additions and 13 deletions
+4 -2
View File
@@ -1150,9 +1150,11 @@ Mavlink::find_broadcast_address()
const struct in_addr netmask_addr = query_netmask_addr(_socket_fd, *cur_ifreq);
const struct in_addr broadcast_addr = compute_broadcast_addr(sin_addr, netmask_addr);
#ifdef __PX4_POSIX_BBBLUE
#ifdef __PX4_POSIX_BBBLUE
if (strstr(cur_ifreq->ifr_name, _mavlink_wifi_name) == NULL) { continue; }
#endif
#endif
PX4_INFO("using network interface %s, IP: %s", cur_ifreq->ifr_name, inet_ntoa(sin_addr));
PX4_INFO("with netmask: %s", inet_ntoa(netmask_addr));
+1 -1
View File
@@ -609,7 +609,7 @@ private:
#endif
#ifdef __PX4_POSIX_BBBLUE
const char * _mavlink_wifi_name;
const char *_mavlink_wifi_name;
#endif
int _socket_fd;