Fixes for new environment
This commit is contained in:
@@ -10,4 +10,4 @@ class SearchingForSyncState < StatePattern::State
|
||||
# return
|
||||
return bytes[idx..-1] || ""
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
class Synchronizer
|
||||
include StatePattern
|
||||
include StatePattern
|
||||
|
||||
SYNC_PATTERN = "\n/ISk5\\2ME382-1003\n\n"
|
||||
|
||||
set_initial_state SearchingForSyncState
|
||||
set_initial_state ::SearchingForSyncState
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user