aboutsummaryrefslogtreecommitdiffstats
path: root/examples/hid-custom-rq
diff options
context:
space:
mode:
authorChristian Starkjohann <cs+github@obdev.at>2010-05-30 21:00:26 +0000
committerChristian Starkjohann <cs+github@obdev.at>2010-05-30 21:00:26 +0000
commit77b0a932afd4a8daa291307ec150e3567c4d72ed (patch)
tree4cea3e7c28fa0cacf99f801fc87059d87478c0e6 /examples/hid-custom-rq
parentf45ab3e06e17e65e0d816112c850945f6ee4a557 (diff)
downloadv-usb-77b0a932afd4a8daa291307ec150e3567c4d72ed.tar.gz
v-usb-77b0a932afd4a8daa291307ec150e3567c4d72ed.tar.bz2
v-usb-77b0a932afd4a8daa291307ec150e3567c4d72ed.zip
- added __attribute__((noreturn)) to all main() functions
Diffstat (limited to 'examples/hid-custom-rq')
-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;
}
/* ------------------------------------------------------------------------- */