summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/stm32/stm32_can.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/arm/src/stm32/stm32_can.c')
-rwxr-xr-xnuttx/arch/arm/src/stm32/stm32_can.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/nuttx/arch/arm/src/stm32/stm32_can.c b/nuttx/arch/arm/src/stm32/stm32_can.c
index df986f4fe..08f932b37 100755
--- a/nuttx/arch/arm/src/stm32/stm32_can.c
+++ b/nuttx/arch/arm/src/stm32/stm32_can.c
@@ -708,7 +708,7 @@ static int can_ioctl(FAR struct can_dev_s *dev, int cmd, unsigned long arg)
*
****************************************************************************/
-static int can_remoterequest(FAR struct can_dev_s *dev, uint16_t id)
+static int can_remoterequest(FAR struct can_dev_s *dev, uint16_t id)
{
#warning "Remote request not implemented"
return -ENOSYS;
@@ -918,7 +918,8 @@ static bool can_txempty(FAR struct can_dev_s *dev)
* CAN RX FIFO 0 interrupt handler
*
* Input Parameters:
- * dev - An instance of the "upper half" can driver state structure.
+ * irq - The IRQ number of the interrupt.
+ * context - The register state save array at the time of the interrupt.
*
* Returned Value:
* Zero on success; a negated errno on failure