Merge pull request #223 from marckleinebudde/jacd

j1939acd: replace 0x0fed8 by constant J1939_PGN_ADDRESS_COMMANDED
pull/227/head
Marc Kleine-Budde 2020-06-17 12:51:32 +02:00 committed by GitHub
commit e9e1a02085
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -631,7 +631,7 @@ int main(int argc, char *argv[])
schedule_itimer(50);
}
break;
case 0x0fed8:
case J1939_PGN_ADDRESS_COMMANDED:
if (!host_is_little_endian())
bswap(dat, 8);
memcpy(&cmd_name, dat, 8);