Skip to content
Snippets Groups Projects
Commit 8c19e06d authored by Alessio Igor Bogani's avatar Alessio Igor Bogani
Browse files

Workaround

parent 1ff21105
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
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