Skip to content

Commit 7201fa8

Browse files
committed
address review comments
1 parent e287200 commit 7201fa8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

openc3/lib/openc3/interfaces/file_interface.rb

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424

2525
module OpenC3
2626
class FileInterface < Interface
27-
# @param command_write_folder [String] Folder to write command files to
28-
# @param telemetry_read_folder [String] Folder to read telemetry files from
29-
# @param telemetry_archive_folder [String] Folder to move read telemetry files to
27+
# @param command_write_folder [String] Folder to write command files to - Set to nil to disallow writes
28+
# @param telemetry_read_folder [String] Folder to read telemetry files from - Set to nil to disallow reads
29+
# @param telemetry_archive_folder [String] Folder to move read telemetry files to - Set to DELETE to delete files
3030
# @param file_read_size [Integer] Number of bytes to read from the file at a time
3131
# @param stored [Boolean] Whether to set stored flag on read telemetry
3232
# @param protocol_type [String] Name of the protocol to use
@@ -99,7 +99,7 @@ def disconnect
9999

100100
def read_interface
101101
while true
102-
if @filef
102+
if @file
103103
# Read more data from existing file
104104
data = @file.read(@file_read_size)
105105
if data and data.length > 0

0 commit comments

Comments
 (0)