Greenzie / emuccan-b202

A Debian package and systemctl scripts for the EMUC-B202 SocketCAN
GNU General Public License v3.0
4 stars 5 forks source link

Added environment file for configuring canbus speed #1

Closed AGummyBear closed 2 years ago

AGummyBear commented 2 years ago

This PR updates the service to load an environment file. The environment file sets the value for EMUCCAN_SPEED, which is used to set the speed of the canbus device.

This PR also fixes a bug where the project version was not properly applied to the debian package.

seebq commented 2 years ago

Only other tiny fix might be in the README this line:

You should now have a debian called emuccan-b202_-1.deb.

Should say:

You should now have a debian called emuccan-b202_2.7.1-1.deb.

AGummyBear commented 2 years ago

Okay, had to fix an issue with the debian package version not getting set (so it defaulted to 0.1.1) even though the name was correct. Those are apparently two different variables. Tested that it correctly installs over previous versions now.