From c62a947a2804c3027471b20815c7544e0fd698d0 Mon Sep 17 00:00:00 2001 From: gatecat Date: Fri, 2 Dec 2022 14:20:39 +0100 Subject: api: Make NetInfo* of checkPipAvailForNet const Signed-off-by: gatecat --- ice40/arch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ice40') diff --git a/ice40/arch.h b/ice40/arch.h index 5ed2347d..498a8b71 100644 --- a/ice40/arch.h +++ b/ice40/arch.h @@ -680,7 +680,7 @@ struct Arch : BaseArch return switches_locked[pi.switch_index] == WireId(); } - bool checkPipAvailForNet(PipId pip, NetInfo *net) const override + bool checkPipAvailForNet(PipId pip, const NetInfo *net) const override { if (ice40_pip_hard_unavail(pip)) return false; -- cgit v1.2.3