Skip to content

Commit 85d1ef6

Browse files
feat(remoteocd): fix for imola
Co-authored-by: Alessio Perugini <alessio@perugini.xyz>
1 parent 9912a0c commit 85d1ef6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

debian/router/etc/systemd/system/arduino-router.service

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ Wants=network-online.target
55
Requires=
66

77
[Service]
8-
# We want to make sure the micro is enable and ready before starting the router
9-
ExecStartPre=-/usr/bin/gpioset -c /dev/gpiochip1 -t0 71=0
10-
ExecStartPre=-/usr/bin/gpioset -c /dev/gpiochip1 -t0 40=0
11-
ExecStartPre=-/usr/bin/gpioset -c /dev/gpiochip1 -t0 40=1
8+
# Put the micro in a ready state.
9+
ExecStartPre=-/usr/bin/gpioset -c /dev/gpiochip1 -t0 37=0
1210
ExecStart=/usr/bin/router --listen-port :8900 --unix-port /var/run/arduino-router.socket --serial-port /dev/ttyHS1
11+
# End the boot animation after the router is started.
12+
ExecStartPost=/usr/bin/gpioset -c /dev/gpiochip1 -t0 70=1
1313
StandardOutput=journal
1414
StandardError=journal
1515
Restart=always

0 commit comments

Comments
 (0)