fixed coding style

Signed-off-by: Sven Schmitt <sven.schmitt@gmx.net>
pull/9/head
Sven Schmitt 2015-10-13 09:33:08 +02:00
parent 11ea75367b
commit b1775eae3e
1 changed files with 3 additions and 3 deletions

View File

@ -363,7 +363,7 @@ int main(int argc, char **argv)
if (canfd){
mtu = CANFD_MTU;
maxdlen = CANFD_MAX_DLEN;
if(brs)
if (brs)
frame.flags |= CANFD_BRS;
} else {
mtu = CAN_MTU;
@ -456,7 +456,7 @@ resend:
if (gap) /* gap == 0 => performance test :-] */
if (nanosleep(&ts, NULL))
return 1;
if (id_mode == MODE_INCREMENT)
frame.can_id++;
@ -485,7 +485,7 @@ resend:
i = random();
extended = i&1;
canfd = i&2;
if(canfd)
if (canfd)
brs = i&4;
rtr_frame = ((i&24) == 24); /* reduce RTR frames to 1/4 */
}