mirror of
https://github.com/candle-usb/candleLight_fw.git
synced 2025-01-14 05:42:53 +08:00
README: remove trailing whitespace
This commit is contained in:
parent
e1d078cb5a
commit
98ddbe33da
@ -96,14 +96,14 @@ Flashing candleLight on linux: (source: [https://cantact.io/cantact/users-guide.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Associating persistent device names
|
## Associating persistent device names
|
||||||
With udev on linux, it is possible to assign a device name to a certain serial number (see udev manpages and [systemd.link](https://www.freedesktop.org/software/systemd/man/systemd.link.html)).
|
With udev on linux, it is possible to assign a device name to a certain serial number (see udev manpages and [systemd.link](https://www.freedesktop.org/software/systemd/man/systemd.link.html)).
|
||||||
This can be useful when multiple devices are connected at the same time.
|
This can be useful when multiple devices are connected at the same time.
|
||||||
|
|
||||||
An example configuration :
|
An example configuration :
|
||||||
|
|
||||||
```
|
```
|
||||||
$ cat /etc/systemd/network/60-persistent-candev.link
|
$ cat /etc/systemd/network/60-persistent-candev.link
|
||||||
[Match]
|
[Match]
|
||||||
Property=ID_MODEL=cannette_gs_usb ID_SERIAL_SHORT="003800254250431420363230"
|
Property=ID_MODEL=cannette_gs_usb ID_SERIAL_SHORT="003800254250431420363230"
|
||||||
|
|
||||||
@ -121,7 +121,7 @@ Name=cannette99
|
|||||||
$ ip a
|
$ ip a
|
||||||
....
|
....
|
||||||
59: cannette99: <NOARP,ECHO> mtu 16 qdisc noop state DOWN group default qlen 10
|
59: cannette99: <NOARP,ECHO> mtu 16 qdisc noop state DOWN group default qlen 10
|
||||||
link/can
|
link/can
|
||||||
$
|
$
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -129,7 +129,7 @@ Name=cannette99
|
|||||||
## Hacking
|
## Hacking
|
||||||
### Submitting pull requests
|
### Submitting pull requests
|
||||||
- Each commit must not contain unrelated changes (e.g. functional and whitespace changes)
|
- Each commit must not contain unrelated changes (e.g. functional and whitespace changes)
|
||||||
- Project must be compilable (with default options) and functional, at each commit.
|
- Project must be compilable (with default options) and functional, at each commit.
|
||||||
- Squash any "WIP" or other temporary commits.
|
- Squash any "WIP" or other temporary commits.
|
||||||
- Make sure your editor is not messing up whitespace or line-ends.
|
- Make sure your editor is not messing up whitespace or line-ends.
|
||||||
- We include both a `.editorconfig` and `uncrustify.cfg` which should help with whitespace.
|
- We include both a `.editorconfig` and `uncrustify.cfg` which should help with whitespace.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user