Skip to content
Snippets Groups Projects
Commit 6af7dfee authored by Elisabetta Pianori's avatar Elisabetta Pianori
Browse files

Merge branch 'kk_isonfix' into 'devel'

PowerSupplyChannel::isOn now returns something.

See merge request berkeleylab/labRemote!193
parents 4b72c35c 0a4bfa87
No related branches found
No related tags found
No related merge requests found
......@@ -72,6 +72,7 @@ void IPowerSupply::turnOffAll()
bool IPowerSupply::isOn(unsigned channel)
{
logger(logWARNING) << "isOn() not implemented for this PS.";
return false;
}
void IPowerSupply::setCurrentProtect(double cur, unsigned channel)
......
......@@ -54,7 +54,7 @@ void PowerSupplyChannel::turnOff()
{ m_ps->turnOff(m_channel); }
bool PowerSupplyChannel::isOn()
{ m_ps->isOn(m_channel); }
{ return m_ps->isOn(m_channel); }
void PowerSupplyChannel::setCurrentLevel(double cur)
{ m_ps->setCurrentLevel(cur, m_channel); }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment