Commit fdf59024 authored by Jeffrey Phillips Freeman's avatar Jeffrey Phillips Freeman 💥
Browse files

Added missing port name to the colorized output.

parent 57ff1f75
...@@ -4,7 +4,7 @@ require 'aprs/aprs_kiss' ...@@ -4,7 +4,7 @@ require 'aprs/aprs_kiss'
require 'apex/app_info' require 'apex/app_info'
module Apex module Apex
def self.echo_color_frame(frame, direction_in) def self.echo_color_frame(frame, port_name, direction_in)
formatted_aprs = [frame[:source].colorize(:green), frame[:destination].colorize(:blue)].join('>') formatted_aprs = [frame[:source].colorize(:green), frame[:destination].colorize(:blue)].join('>')
paths = [] paths = []
frame[:path].each do |path| frame[:path].each do |path|
...@@ -34,7 +34,7 @@ module Apex ...@@ -34,7 +34,7 @@ module Apex
while true while true
frame = aprs_kiss.read frame = aprs_kiss.read
if frame if frame
echo_color_frame(frame, true) echo_color_frame(frame, 'TNC', true)
else else
sleep(1) sleep(1)
end end
......
Supports Markdown
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