On 3/15/21 10:20 AM, Thomas Huth wrote:
+    if (irq == 2) {
+        irq2 = pic_get_irq(slave_pic);

This looks better.  You should also be able to pull in the declaration to

  int irq2 = pic_get_irq(slave_pic);

here.


r~

Reply via email to