We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93299c9 commit 7620498Copy full SHA for 7620498
test/cmsis_test/cmsis_test.c
@@ -35,5 +35,7 @@ int main(void) {
35
irq_set_enabled(DMA_IRQ_0_IRQn, true);
36
irq_set_pending(DMA_IRQ_0_IRQn);
37
puts(irq_handler_called ? "SUCCESS" : "FAILURE");
38
- return !(pendsv_called && irq_handler_called);
+ bool ok = pendsv_called && irq_handler_called;
39
+ puts(ok ? "PASSED" : "FAILED");
40
+ return !ok;
41
}
0 commit comments