aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/pybindings.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ice40/pybindings.cc')
-rw-r--r--ice40/pybindings.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/ice40/pybindings.cc b/ice40/pybindings.cc
index 2acc5258..4c707e65 100644
--- a/ice40/pybindings.cc
+++ b/ice40/pybindings.cc
@@ -45,9 +45,7 @@ void arch_wrap_python()
class_<PipId>("PipId").def_readwrite("index", &PipId::index);
- class_<BelPin>("BelPin")
- .def_readwrite("bel", &BelPin::bel)
- .def_readwrite("pin", &BelPin::pin);
+ class_<BelPin>("BelPin").def_readwrite("bel", &BelPin::bel).def_readwrite("pin", &BelPin::pin);
enum_<PortPin>("PortPin")
#define X(t) .value("PIN_" #t, PIN_##t)