From 9af56cf247d4f085b04c2ecff112122c97910068 Mon Sep 17 00:00:00 2001 From: Gabriel Somlo Date: Mon, 30 Nov 2020 16:27:31 -0500 Subject: [PATCH] soc: fix typo in IRQ handler exception --- litex/soc/integration/soc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/soc/integration/soc.py b/litex/soc/integration/soc.py index 3d8d94613..997c56cc4 100644 --- a/litex/soc/integration/soc.py +++ b/litex/soc/integration/soc.py @@ -624,7 +624,7 @@ class SoCIRQHandler(SoCLocHandler): # Check IRQ Number if n_irqs > 32: self.logger.error("Unsupported IRQs number: {} supporteds: {:s}".format( - colorer(n, color="red"), colorer("Up to 32", color="green"))) + colorer(n_irqs, color="red"), colorer("Up to 32", color="green"))) raise # Create IRQ Handler