diff options
| author | hathach <[email protected]> | 2026-05-30 00:42:14 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2026-05-30 00:42:14 +0700 |
| commit | 0761df7420df3e62041f17e0c3e0f49d98b0667c (patch) | |
| tree | 8114c256047b645aa54d71b26c9e836ed38e687f /examples | |
| parent | 28beb0fe4db608c1a9001452d099cb5ea095377e (diff) | |
midi2_host: drop unreachable return 0 for IAR Pe111
Same fix as midi2_device — IAR rejects the unreachable statement
after the while(1) superloop. Let int main fall off the end.
Co-Authored-By: Claude Opus 4.7 <[email protected]>
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/host/midi2_host/src/main.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/host/midi2_host/src/main.c b/examples/host/midi2_host/src/main.c index 63b08318c..3d5938a2d 100644 --- a/examples/host/midi2_host/src/main.c +++ b/examples/host/midi2_host/src/main.c @@ -160,6 +160,4 @@ int main(void) { while (1) { tuh_task(); } - - return 0; } |
