File tree 1 file changed +4
-4
lines changed
openc3/lib/openc3/interfaces
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 24
24
25
25
module OpenC3
26
26
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
30
30
# @param file_read_size [Integer] Number of bytes to read from the file at a time
31
31
# @param stored [Boolean] Whether to set stored flag on read telemetry
32
32
# @param protocol_type [String] Name of the protocol to use
@@ -99,7 +99,7 @@ def disconnect
99
99
100
100
def read_interface
101
101
while true
102
- if @filef
102
+ if @file
103
103
# Read more data from existing file
104
104
data = @file . read ( @file_read_size )
105
105
if data and data . length > 0
You can’t perform that action at this time.
0 commit comments