summaryrefslogtreecommitdiff
path: root/nuttx/configs/sama5d4-ek/src
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-09-29 12:22:31 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-09-29 12:22:31 -0600
commit9c2e57179169b6cff802685b622ded10bed6bd5f (patch)
tree92f0b132167654cd2c3d4cf3a77e88b3bc616798 /nuttx/configs/sama5d4-ek/src
parent506e660018db40873b8f97bec663e29bbd2b030e (diff)
downloadpx4-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/sama5d4-ek/src')
-rw-r--r--nuttx/configs/sama5d4-ek/src/sam_ethernet.c4
-rw-r--r--nuttx/configs/sama5d4-ek/src/sam_usb.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/configs/sama5d4-ek/src/sam_ethernet.c b/nuttx/configs/sama5d4-ek/src/sam_ethernet.c
index a2eb1b1c5..6c9c4b890 100644
--- a/nuttx/configs/sama5d4-ek/src/sam_ethernet.c
+++ b/nuttx/configs/sama5d4-ek/src/sam_ethernet.c
@@ -286,7 +286,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;
@@ -319,7 +319,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/sama5d4-ek/src/sam_usb.c b/nuttx/configs/sama5d4-ek/src/sam_usb.c
index f8d2da7d2..1d34bd84e 100644
--- a/nuttx/configs/sama5d4-ek/src/sam_usb.c
+++ b/nuttx/configs/sama5d4-ek/src/sam_usb.c
@@ -487,7 +487,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;
@@ -498,7 +498,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;