soc: fix typo in IRQ handler exception

This commit is contained in:
Gabriel Somlo 2020-11-30 16:27:31 -05:00
parent d193092e16
commit 9af56cf247
1 changed files with 1 additions and 1 deletions

View File

@ -624,7 +624,7 @@ class SoCIRQHandler(SoCLocHandler):
# Check IRQ Number # Check IRQ Number
if n_irqs > 32: if n_irqs > 32:
self.logger.error("Unsupported IRQs number: {} supporteds: {:s}".format( 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 raise
# Create IRQ Handler # Create IRQ Handler