aboutsummaryrefslogtreecommitdiffstats
path: root/examples/hid-custom-rq/firmware/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hid-custom-rq/firmware/main.c')
-rw-r--r--examples/hid-custom-rq/firmware/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/hid-custom-rq/firmware/main.c b/examples/hid-custom-rq/firmware/main.c
index 2909828..e4ade7c 100644
--- a/examples/hid-custom-rq/firmware/main.c
+++ b/examples/hid-custom-rq/firmware/main.c
@@ -83,7 +83,7 @@ usbRequest_t *rq = (void *)data;
/* ------------------------------------------------------------------------- */
-int main(void)
+int __attribute__((noreturn)) main(void)
{
uchar i;
@@ -115,7 +115,6 @@ uchar i;
wdt_reset();
usbPoll();
}
- return 0;
}
/* ------------------------------------------------------------------------- */