| 214 | } |
| 215 | |
| 216 | int AFCBusModule::CombineBusID(const ARK_APP_TYPE app_type, const uint8_t inst_id) |
| 217 | { |
| 218 | ARK_ASSERT_RET_VAL(app_type > ARK_APP_TYPE::ARK_APP_DEFAULT && app_type < ARK_APP_TYPE::ARK_APP_MAX, 0); |
| 219 | |
| 220 | int self_bus = GetSelfBusID(); |
| 221 | AFBusAddr self_bus_addr(self_bus); |
| 222 | AFBusAddr target_bus_addr(self_bus_addr.channel_id, self_bus_addr.zone_id, static_cast<uint8_t>(app_type), inst_id); |
| 223 | return target_bus_addr.bus_id; |
| 224 | } |
| 225 | |
| 226 | bool AFCBusModule::GetTargetBusRelations(std::vector<ARK_APP_TYPE>& target_list) |
| 227 | { |
nothing calls this directly
no outgoing calls
no test coverage detected