Skip to content
Snippets Groups Projects
Commit 0f09a583 authored by Xavier ELATTAOUI's avatar Xavier ELATTAOUI
Browse files

Device starts even the underlying device proxy is down

parent d09c996f
No related branches found
No related tags found
No related merge requests found
......@@ -518,7 +518,13 @@ Tango::DevState SY2527Channel::dev_state()
s << "Slot Number : " + this->slotNumber << endl;
s << "Channel Number : " + this->channelNumber << endl;
Tango::DevUShort status_byte;
Tango::DevUShort status_byte = 0;
if(!m_crate_proxy)
{
set_status("Init failed: no proxy created.");
return Tango::FAULT;
}
// try to get channel status byte
try
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment