Commit 65182fa5 authored by Brice Videau's avatar Brice Videau
Browse files

Fix printing of handle bis.

parent 9e0c1993
Pipeline #13134 canceled with stage
......@@ -224,7 +224,7 @@ module ZE
module Handle
def to_s
s = '{ data: "'
s << self[:data].to_a.collect { |v| "%02x" % v }.join(" ")
s << self[:data].to_a.collect { |v| "%02x" % ((v + 256)%256) }.join(" ")
s << '" }'
end
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment