fix typo in elm327 addr comparison
@@ -12,7 +12,7 @@ static int elm327_tx_hook(CAN_FIFOMailBox_TypeDef *to_send) {
//Check valid 29 bit send addresses for ISO 15765-4
//Check valid 11 bit send addresses for ISO 15765-4
if ((addr != 0x18DB33F1) && ((addr & 0x1FFF00FF) != 0x18DA00F1) &&
- ((addr & 0x1FFFFFFF) != 0x700)) {
+ ((addr & 0x1FFFFF00) != 0x700)) {
tx = 0;
}
return tx;
