Skip to content
Snippets Groups Projects
Commit 25b1acf2 authored by ELATTAOUI's avatar ELATTAOUI
Browse files

tests done OK !

parent f59b6d04
Branches
Tags
No related merge requests found
......@@ -163,7 +163,7 @@ std::string NovelecProtocol::get_value (void)
{
std::stringstream cmd_to_send;
std::string tmp("no data");
std::string value("no data");
std::string value("-1");
short cmd_num = 13; //- default value for DEBUG !!!
//- first get mode
......@@ -179,6 +179,7 @@ short cmd_num = 13; //- default value for DEBUG !!!
std::cout << "\t\t***WARN : Current mode : \"" << get_mode() << "\" has no value available." << std::endl;
cmd_to_send << _devAdd << " READ " << cmd_num << END_OF_LINE << std::endl;
tmp = _communication_link->write_read(cmd_to_send.str());
//- check only the command response
value = check_and_extract_data(tmp, cmd_num);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment