提交 c8c7e3db 编写于 作者: A Alexander Aring 提交者: Marcel Holtmann

at86rf230: cleanup check on trac status

Signed-off-by: NAlexander Aring <alex.aring@gmail.com>
Reviewed-by: NStefan Schmidt <s.schmidt@samsung.com>
Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
上级 cab9e3a0
...@@ -749,12 +749,10 @@ at86rf230_tx_trac_check(void *context) ...@@ -749,12 +749,10 @@ at86rf230_tx_trac_check(void *context)
* to STATE_FORCE_TRX_OFF then STATE_TX_ON to recover the transceiver * to STATE_FORCE_TRX_OFF then STATE_TX_ON to recover the transceiver
* state to TX_ON. * state to TX_ON.
*/ */
if (trac) { if (trac)
at86rf230_async_state_change(lp, ctx, STATE_FORCE_TRX_OFF, at86rf230_async_state_change(lp, ctx, STATE_FORCE_TRX_OFF,
at86rf230_tx_trac_error, true); at86rf230_tx_trac_error, true);
return; else
}
at86rf230_tx_on(context); at86rf230_tx_on(context);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册