mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 14:08:52 +08:00
Remove unnecessary newlines
This commit is contained in:
@@ -479,7 +479,6 @@ void IridiumSBD::sbdsession_loop(void)
|
||||
_tx_buf_write_idx = 0;
|
||||
|
||||
publish_telemetry_status();
|
||||
|
||||
break;
|
||||
|
||||
case 1:
|
||||
@@ -497,7 +496,6 @@ void IridiumSBD::sbdsession_loop(void)
|
||||
VERBOSE_INFO("SBD SESSION: NO NETWORK SIGNAL");
|
||||
|
||||
_signal_quality = 0;
|
||||
|
||||
break;
|
||||
|
||||
default:
|
||||
@@ -806,7 +804,6 @@ satcom_result_code IridiumSBD::read_at(uint8_t *rx_buf, int *rx_len, int16_t tim
|
||||
int rx_buf_pos = 0;
|
||||
*rx_len = 0;
|
||||
|
||||
|
||||
while (1) {
|
||||
if (::poll(&fds[0], 1, timeout) > 0) {
|
||||
if (::read(uart_fd, &buf, 1) > 0) {
|
||||
@@ -960,8 +957,6 @@ int IridiumSBD::close_last(struct file *filep)
|
||||
return CDev::close_last(filep);
|
||||
}
|
||||
|
||||
|
||||
|
||||
int iridiumsbd_main(int argc, char *argv[])
|
||||
{
|
||||
if (!strcmp(argv[1], "start")) {
|
||||
|
||||
@@ -90,7 +90,6 @@ extern "C" __EXPORT int iridiumsbd_main(int argc, char *argv[]);
|
||||
#define SATCOM_SIGNAL_REFRESH_DELAY 20000000 // update signal quality every 20s
|
||||
#define MAVLINK_PACKAGE_START 254 // The value of the first byte of the mavlink header
|
||||
|
||||
|
||||
/**
|
||||
* The driver for the Rockblock 9602 and 9603 RockBlock module for satellite communication over the Iridium satellite system
|
||||
*
|
||||
|
||||
@@ -141,7 +141,6 @@ private:
|
||||
|
||||
// subscriptions
|
||||
Subscription<mission_result_s> _mission_result_sub;
|
||||
|
||||
};
|
||||
|
||||
#endif /* COMMANDER_HPP_ */
|
||||
|
||||
@@ -990,7 +990,6 @@ Mavlink::send_bytes(const uint8_t *buf, unsigned packet_len)
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
_last_write_try_time = hrt_absolute_time();
|
||||
|
||||
if (_mavlink_start_time == 0) {
|
||||
|
||||
@@ -4040,7 +4040,6 @@ private:
|
||||
hrt_abstime _last_update_time = 0;
|
||||
float _update_rate_filtered = 0.0f;
|
||||
|
||||
|
||||
/* do not allow top copying this class */
|
||||
MavlinkStreamHighLatency2(MavlinkStreamHighLatency2 &);
|
||||
MavlinkStreamHighLatency2 &operator = (const MavlinkStreamHighLatency2 &);
|
||||
|
||||
Reference in New Issue
Block a user