diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-09-29 12:22:31 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-09-29 12:22:31 -0600 |
commit | 9c2e57179169b6cff802685b622ded10bed6bd5f (patch) | |
tree | 92f0b132167654cd2c3d4cf3a77e88b3bc616798 /nuttx/configs/sama5d3-xplained | |
parent | 506e660018db40873b8f97bec663e29bbd2b030e (diff) | |
download | px4-nuttx-9c2e57179169b6cff802685b622ded10bed6bd5f.tar.gz px4-nuttx-9c2e57179169b6cff802685b622ded10bed6bd5f.tar.bz2 px4-nuttx-9c2e57179169b6cff802685b622ded10bed6bd5f.zip |
Fix some comments: Remove button description from GPIO interrupt handlers that derive from the button interrupt handler
Diffstat (limited to 'nuttx/configs/sama5d3-xplained')
-rw-r--r-- | nuttx/configs/sama5d3-xplained/src/sam_ethernet.c | 4 | ||||
-rw-r--r-- | nuttx/configs/sama5d3-xplained/src/sam_usb.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/configs/sama5d3-xplained/src/sam_ethernet.c b/nuttx/configs/sama5d3-xplained/src/sam_ethernet.c index 2307410a3..9a14e3d63 100644 --- a/nuttx/configs/sama5d3-xplained/src/sam_ethernet.c +++ b/nuttx/configs/sama5d3-xplained/src/sam_ethernet.c @@ -317,7 +317,7 @@ xcpt_t arch_phy_irq(FAR const char *intf, xcpt_t handler, phy_enable_t *enable) flags = irqsave(); - /* Get the old button interrupt handler and save the new one */ + /* Get the old interrupt handler and save the new one */ oldhandler = *phandler; *phandler = handler; @@ -350,7 +350,7 @@ xcpt_t arch_phy_irq(FAR const char *intf, xcpt_t handler, phy_enable_t *enable) *enable = enabler; } - /* Return the old button handler (so that it can be restored) */ + /* Return the old handler (so that it can be restored) */ irqrestore(flags); return oldhandler; diff --git a/nuttx/configs/sama5d3-xplained/src/sam_usb.c b/nuttx/configs/sama5d3-xplained/src/sam_usb.c index 1105d8809..29f7dfc7f 100644 --- a/nuttx/configs/sama5d3-xplained/src/sam_usb.c +++ b/nuttx/configs/sama5d3-xplained/src/sam_usb.c @@ -486,7 +486,7 @@ xcpt_t sam_setup_overcurrent(xcpt_t handler) flags = irqsave(); - /* Get the old button interrupt handler and save the new one */ + /* Get the old interrupt handler and save the new one */ oldhandler = g_ochandler; g_ochandler = handler; @@ -497,7 +497,7 @@ xcpt_t sam_setup_overcurrent(xcpt_t handler) (void)irq_attach(IRQ_USBBC_VBUS_OVERCURRENT, handler); sam_pioirqenable(IRQ_USBBC_VBUS_OVERCURRENT); - /* Return the old button handler (so that it can be restored) */ + /* Return the old handler (so that it can be restored) */ irqrestore(flags); return oldhandler; |