build.plat: avoid type confusion in _check_feature.
authorwhitequark <whitequark@whitequark.org>
Thu, 15 Oct 2020 08:54:48 +0000 (08:54 +0000)
committerwhitequark <whitequark@whitequark.org>
Thu, 15 Oct 2020 08:56:09 +0000 (08:56 +0000)
commitd22b2c56041e27031690415d1fb23a09d17999e8
treef9dfa5b082ec4b45f8b23e7a8950614e2feaeb95
parent69ed4918b8b9fc8617064bbfacb92feb720006f2
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