mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 01:21:26 +08:00
Be consistent... Use Name: consistent in function headers vs Function:
This commit is contained in:
@@ -231,7 +231,7 @@ static inline void cc3000_devgive(FAR struct cc3000_dev_s *priv)
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Function: cc3000_configspi
|
||||
* Name: cc3000_configspi
|
||||
*
|
||||
* Description:
|
||||
* Configure the SPI for use with the CC3000. This function should be
|
||||
@@ -260,7 +260,7 @@ static inline void cc3000_configspi(FAR struct spi_dev_s *spi)
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Function: cc3000_lock
|
||||
* Name: cc3000_lock
|
||||
*
|
||||
* Description:
|
||||
* Lock the SPI bus and re-configure as necessary. This function must be
|
||||
@@ -293,7 +293,7 @@ static void cc3000_lock_and_select(FAR struct spi_dev_s *spi)
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Function: cc3000_unlock
|
||||
* Name: cc3000_unlock
|
||||
*
|
||||
* Description:
|
||||
* Un-lock the SPI bus after each transfer, possibly losing the current
|
||||
@@ -321,7 +321,7 @@ static void cc3000_deselect_and_unlock(FAR struct spi_dev_s *spi)
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Function: cc3000_wait
|
||||
* Name: cc3000_wait
|
||||
*
|
||||
* Description:
|
||||
* Helper function to wait on the semaphore signaled by the
|
||||
@@ -363,7 +363,7 @@ static int cc3000_wait(FAR struct cc3000_dev_s *priv, sem_t *psem)
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Function: cc3000_wait_irq
|
||||
* Name: cc3000_wait_irq
|
||||
*
|
||||
* Description:
|
||||
* Helper function to wait on the irqsem signaled by the interrupt
|
||||
@@ -385,7 +385,7 @@ static inline int cc3000_wait_irq(FAR struct cc3000_dev_s *priv)
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Function: cc3000_wait_ready
|
||||
* Name: cc3000_wait_ready
|
||||
*
|
||||
* Description:
|
||||
* Helper function to wait on the readysem signaled by the interrupt
|
||||
|
||||
@@ -290,7 +290,7 @@ static void nrf24l01_lock(FAR struct spi_dev_s *spi)
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Function: nrf24l01_unlock
|
||||
* Name: nrf24l01_unlock
|
||||
*
|
||||
* Description:
|
||||
* Un-lock the SPI bus after each transfer, possibly losing the current
|
||||
@@ -314,7 +314,7 @@ static void nrf24l01_unlock(FAR struct spi_dev_s *spi)
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Function: nrf24l01_configspi
|
||||
* Name: nrf24l01_configspi
|
||||
*
|
||||
* Description:
|
||||
* Configure the SPI for use with the NRF24L01.
|
||||
|
||||
Reference in New Issue
Block a user