mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Fixes IridiumSBD driver bug when transmitting data
This commit is contained in:
parent
ce1b908714
commit
fa1586249a
@ -165,7 +165,7 @@ int IridiumSBD::ioctl(struct file *filp, int cmd, unsigned long arg)
|
||||
return OK;
|
||||
}
|
||||
|
||||
case FIONWRITE: {
|
||||
case FIONSPACE: {
|
||||
int count = SATCOM_TX_BUF_LEN - tx_buf_write_idx;
|
||||
*(int *)arg = count;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user