mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 14:27:37 +08:00
sched: Remove start from nxsem_tickwait[_uninterruptible]
to simplify both caller and callee Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Petro Karashchenko
parent
08002a0a38
commit
22e4f1c59a
@@ -847,8 +847,7 @@ static int dosend(FAR struct nrf24l01_dev_s *dev, FAR const uint8_t *data,
|
||||
|
||||
/* Wait for IRQ (TX_DS or MAX_RT) - but don't hang on lost IRQ */
|
||||
|
||||
ret = nxsem_tickwait(&dev->sem_tx, clock_systime_ticks(),
|
||||
MSEC2TICK(NRF24L01_MAX_TX_IRQ_WAIT));
|
||||
ret = nxsem_tickwait(&dev->sem_tx, MSEC2TICK(NRF24L01_MAX_TX_IRQ_WAIT));
|
||||
|
||||
/* Re-acquire the SPI bus */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user