Skip to content
Snippets Groups Projects
Commit ae0b7b15 authored by Alain BUTEAU's avatar Alain BUTEAU
Browse files

Mise au point

parent 8ca63bd9
No related branches found
No related tags found
No related merge requests found
......@@ -80,6 +80,8 @@ throw (Tango::DevFailed)
//- WRITE_SET_POINT =======================
case AUTO_SEARCH_GAIN:
{
DEBUG_STREAM << "AutoSearchGainTask::handle_message handling AUTO_SEARCH_GAIN msg ..." << std::endl;
this->autosearch_gain();
}
break;
......@@ -123,11 +125,13 @@ void AutoSearchGainTask::autosearch_gain (void)
void AutoSearchGainTask::search_gain (void)
{
DEBUG_STREAM << "AutoSearchGainTask::search_gain starting..." << std::endl;
//- create and post msg
yat::Message* msg = new yat::Message(AUTO_SEARCH_GAIN, MAX_USER_PRIORITY,true);
if ( !msg )
{
ERROR_STREAM << "ABC1260Task::get_battery_charge-> yat::Message allocation failed." << std::endl;
ERROR_STREAM << "AutoSearchGainTask::search_gain yat::Message allocation failed." << std::endl;
Tango::Except::throw_exception ("OUT_OF_MEMORY",
"yat::Message allocation failed",
"ABC1260Task::get_battery_charge");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment