Fixed deep binding inclusions being ignored

nRF Connect for VS Code

tags
nRF Connect for VS Code

When binding inclusions were more than two layers deep, the logic for determining whether nodes belonged to a specific bus type or generic binding would fail. This would cause the extension to mistakenly label some bus nodes as invalid.

This problem is now addressed and all issues with bus nodes are being identified as they should.