|
|
@@ -165,8 +165,9 @@ static int slave_get_info(cascade_handle_t *cas)
|
|
|
{
|
|
|
continue;
|
|
|
}
|
|
|
- tmp->_PowerInfo.port = swInfo.port[cnt];
|
|
|
-
|
|
|
+ #ifdef USE_NETSWITCH
|
|
|
+ tmp->_PowerInfo.port = swInfo.port[cnt];
|
|
|
+ #endif
|
|
|
info->ch[cnt].product_saddr = tmp->product_saddr;
|
|
|
info->ch[cnt].product_ch_type = tmp->product_ch_type;
|
|
|
info->ch[cnt].product_ch_addr = tmp->product_ch_addr;
|