----------------------------------------------------------------------------- Instances as set by the MultiInstance V1 command class -----------------------------------------------------------------------------
| 173 | // Instances as set by the MultiInstance V1 command class |
| 174 | //----------------------------------------------------------------------------- |
| 175 | void CommandClass::SetInstances |
| 176 | ( |
| 177 | uint8 const _instances |
| 178 | ) |
| 179 | { |
| 180 | // Ensure we have a set of reported variables for each new instance |
| 181 | if( !m_dom.GetFlagBool(STATE_FLAG_AFTERMARK) ) |
| 182 | { |
| 183 | for( uint8 i=0; i<_instances; ++i ) |
| 184 | { |
| 185 | SetInstance( i+1 ); |
| 186 | } |
| 187 | } |
| 188 | } |
| 189 | |
| 190 | //----------------------------------------------------------------------------- |
| 191 | // <CommandClass::SetInstance> |
no test coverage detected