mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-27 02:06:27 +08:00
Fixes IridiumSBD driver bug when transmitting data
This commit is contained in:
@@ -165,7 +165,7 @@ int IridiumSBD::ioctl(struct file *filp, int cmd, unsigned long arg)
|
|||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
case FIONWRITE: {
|
case FIONSPACE: {
|
||||||
int count = SATCOM_TX_BUF_LEN - tx_buf_write_idx;
|
int count = SATCOM_TX_BUF_LEN - tx_buf_write_idx;
|
||||||
*(int *)arg = count;
|
*(int *)arg = count;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user