Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
e621
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cs
ds
e621
Commits
8c19e06d
Commit
8c19e06d
authored
4 months ago
by
Alessio Igor Bogani
Browse files
Options
Downloads
Patches
Plain Diff
Workaround
parent
1ff21105
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/E621.cpp
+2
-2
2 additions, 2 deletions
src/E621.cpp
with
2 additions
and
2 deletions
src/E621.cpp
+
2
−
2
View file @
8c19e06d
...
...
@@ -593,8 +593,8 @@ void E621::check_state()
command
(
cmd
.
str
(),
rep
);
/* Sometimes ONT? returns three characters which
* the first one is BELL that should be removed */
//
if (rep[0] == 0x7)
//
rep.erase(rep.begin());
if
(
rep
[
0
]
==
0x7
)
rep
.
erase
(
rep
.
begin
());
/* ONT? reply is always two characters */
assert
(
rep
.
size
()
==
2
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment