We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent feb45fe commit a990338Copy full SHA for a990338
targets/nrf5x/bluetooth.c
@@ -1936,7 +1936,7 @@ void jsble_update_security() {
1936
jsble_check_error(err_code);
1937
}
1938
// If UART encryption status changed, we need to update flags and restart Bluetooth
1939
- if ((bleStatus&BLE_ENCRYPT_UART) != encryptUart) {
+ if (((bleStatus&BLE_ENCRYPT_UART)!=0) != encryptUart) {
1940
if (encryptUart) bleStatus |= BLE_ENCRYPT_UART;
1941
else bleStatus &= ~BLE_ENCRYPT_UART;
1942
// But only restart if the UART was enabled
0 commit comments