Forráskód Böngészése

Bluetooth: hci_uart: Change 1 to true for bool type variables assignments

The variables txcrc and hciextn are bool type. So assigning true
instead of 1.

Signed-off-by: Shailendra Verma <shailendra.capricorn@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Shailendra Verma 10 éve
szülő
commit
bff6b89f86
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      drivers/bluetooth/hci_bcsp.c

+ 2 - 2
drivers/bluetooth/hci_bcsp.c

@@ -47,8 +47,8 @@
 
 #include "hci_uart.h"
 
-static bool txcrc = 1;
-static bool hciextn = 1;
+static bool txcrc = true;
+static bool hciextn = true;
 
 #define BCSP_TXWINSIZE	4