Skip to content

Commit

Permalink
Fix using the :protocol' keyword to change the encoding protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
WickedShell committed Mar 26, 2020
1 parent a1da414 commit da06383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mavlink/core.clj
Expand Up @@ -294,7 +294,7 @@
new-seq-id (if msg-seq-id
(mod msg-seq-id 256)
(mod (inc @sequence-id) 256))]
(if-let [packet (case (or (:mavlink'protocol message)
(if-let [packet (case (or (:protocol' message)
@protocol)
:mavlink1
(if (>= (:msg-id message-info) 256)
Expand Down

0 comments on commit da06383

Please sign in to comment.