keil5出现的警告解决方法:equality comparison with extraneous parentheses
转载:https://blog.csdn.net/weixin_39674445/article/details/97371694
if ((r == STM32_ACK)) {}
警告:equality comparison with extraneous parentheses
原因:在MDK中出现equality comparison with extraneous parentheses这样的黄色三角警告,代表括号有重复多余的情况。
解决方法:
if (r == STM32_ACK) {}