build.plat: avoid type confusion in _check_feature.
authorwhitequark <whitequark@whitequark.org>
Thu, 15 Oct 2020 08:54:48 +0000 (08:54 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 31 Dec 2021 15:12:47 +0000 (15:12 +0000)
commit96efd71e1cad2e015cc5934b121a2c821841584c
tree94776ed613708edf49e8631a409e9a6c9bc4424c
parentee3fa604893d2febd026020300adf443b42f7dff
build.plat: avoid type confusion in _check_feature.

Before this commit, `_check_feature(valid_xdrs=0)` would mean that
XDR buffers are not supported. Only `_check_feature(valid_xdrs=())`
was intended to be an indicator of that.
nmigen/build/plat.py