[CORE][autoconnectbus] use variable instead of harcoded index
[CORE][autoconnectbus] use variable instead of harcoded index

magyarm/periphondemand-code,Martoni/periphondemand,magyarm/periphondemand-code,trabucayre/periphondemand,trabucayre/periphondemand,Martoni/periphondemand,magyarm/periphondemand-code,magyarm/periphondemand-code,trabucayre/periphondemand,Martoni/periphondemand