Skip to content

Commit f2c853d

Browse files
committed
typofix: detected-ports -> detected_ports
1 parent d871be6 commit f2c853d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arduino-cli-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@
178178
(defun arduino-cli--board ()
179179
"Get connected Arduino board."
180180
(let* ((output (arduino-cli--cmd-json "board list"))
181-
(ports (alist-get 'detected-ports output))
181+
(ports (alist-get 'detected_ports output))
182182
(boards (seq-filter #'arduino-cli--arduino? ports))
183183
(boards-info (seq-map (lambda (m) (thread-first (assoc 'boards m) cdr (seq-elt 0))) boards))
184184
(informed-boards (cl-mapcar (lambda (m n) (map-merge 'list m n)) boards boards-info))

0 commit comments

Comments
 (0)