fix: serial device name
This commit is contained in:
1 parent
2de62edbb2
commit
a625397998
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -1,2 +1,2 @@
|
||||
# should be in /etc/udev/rules.d/
|
||||
ACTION=="add", ATTRS{idProduct}=="7523", ATTRS{idVendor}=="1a86", NAME="heartbeat-listener"
|
||||
ACTION=="add", ATTRS{idProduct}=="7523", ATTRS{idVendor}=="1a86", NAME="heartbeat"
|
||||
+1
-1
@@ -4,7 +4,7 @@ use serialport::SerialPort;
|
||||
|
||||
const HEARTBEAT_INTERVAL: Duration = Duration::from_secs(5);
|
||||
const HEARTBEAT_MESSAGE: &str = "OK";
|
||||
const WATCHDOG_DEVICE: &str = "/dev/watchdog0";
|
||||
const WATCHDOG_DEVICE: &str = "/dev/heartbeat";
|
||||
|
||||
|
||||
fn main() {
|
||||
|
||||
Reference in new issue
Block a user