Fix: ‘~’ on a boolean expression

This commit is contained in:
Rin Cat
2018-11-23 16:27:18 -05:00
parent 1ba60af791
commit aae57d0dc5
2 changed files with 3 additions and 3 deletions

View File

@@ -2477,7 +2477,7 @@ void halbtc8822b1ant_set_ext_ant_switch(IN struct btc_coexist *btcoexist,
* 0xcbd[1:0] = 2b'10 => Ant to WLG
*/
switch_polatiry_inverse = (rfe_type->ext_ant_switch_ctrl_polarity == 1 ?
~switch_polatiry_inverse : switch_polatiry_inverse);
!switch_polatiry_inverse : switch_polatiry_inverse);
switch (pos_type) {