mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 06:13:34 +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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user