staging: pi433: remove comparison with false
Fixes checkpatch warning for error prone comparison. Signed-off-by: Valentin Vidic <Valentin.Vidic@CARNet.hr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c144df8d79
commit
de71b5bd5a
|
@ -646,7 +646,7 @@ pi433_tx_thread(void *data)
|
|||
disable_irq(device->irq_num[DIO0]);
|
||||
device->tx_active = true;
|
||||
|
||||
if (device->rx_active && rx_interrupted == false) {
|
||||
if (device->rx_active && !rx_interrupted) {
|
||||
/* rx is currently waiting for a telegram;
|
||||
* we need to set the radio module to standby
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue