]> rtime.felk.cvut.cz Git - socketcan-devel.git/commit
slcan_attach: added '-f' commandline option to read status flags.
authorhartkopp <hartkopp@030b6a49-0b11-0410-94ab-b0dab22257f2>
Sun, 9 Jan 2011 11:49:20 +0000 (11:49 +0000)
committerhartkopp <hartkopp@030b6a49-0b11-0410-94ab-b0dab22257f2>
Sun, 9 Jan 2011 11:49:20 +0000 (11:49 +0000)
commited09b3961f4a1ee572c2a0af6a756ae019022a70
treeb62d4da5c98551c683f18c27369157318f761db6
parentf45db8ac43c20ea22a35e1e491e305110df5019a
slcan_attach: added '-f' commandline option to read status flags.

In the case of pending bus errors on some slcan adapters the read of the
status flags resets the adapter and clears the error LED.

This patch adds the commandline option to send the status read command to the
adapter as suggested by Thorsten Godau.

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
git-svn-id: svn://svn.berlios.de//socketcan/trunk@1230 030b6a49-0b11-0410-94ab-b0dab22257f2
can-utils/slcan_attach.c