2013-02-11 | Paul Boddie | raw files shortlog changelog graph | Added missing interrupt status retrieval. | |
test.c (file) |
1.1 --- a/test.c Mon Feb 11 17:33:09 2013 +0000 1.2 +++ b/test.c Mon Feb 11 17:45:48 2013 +0000 1.3 @@ -337,6 +337,8 @@ 1.4 { 1.5 if (!PIN(MAX_INT)) 1.6 { 1.7 + status = max_read(MAX_REG_HIRQ, NULL); 1.8 + 1.9 if (status & MAX_HIRQ_CONDETIRQ) 1.10 printf("Device connected.\n"); 1.11 if (status & MAX_HIRQ_SUSDNIRQ)