mirror of
https://github.com/apache/nuttx.git
synced 2026-08-04 05:39:01 +00:00
For NUC1xx MCUs, rename up_spiinitialize to nuc_spibus_initialize
This commit is contained in:
parent
59ba5719dd
commit
3dc852166f
2 changed files with 5 additions and 5 deletions
|
|
@ -72,13 +72,13 @@
|
|||
void nuc_boardinitialize(void)
|
||||
{
|
||||
/* Configure SPI chip selects if 1) SPI is not disabled, and 2) the weak function
|
||||
* nuc_spiinitialize() has been brought into the link.
|
||||
* nuc_spidev_initialize() has been brought into the link.
|
||||
*/
|
||||
|
||||
#if defined(CONFIG_NUC1XX_SPI1) || defined(CONFIG_NUC1XX_SPI2) || defined(CONFIG_NUC1XX_SPI3)
|
||||
if (nuc_spiinitialize)
|
||||
if (nuc_spidev_initialize)
|
||||
{
|
||||
nuc_spiinitialize();
|
||||
nuc_spidev_initialize();
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -91,14 +91,14 @@
|
|||
****************************************************************************************************/
|
||||
|
||||
/****************************************************************************************************
|
||||
* Name: nuc_spiinitialize
|
||||
* Name: nuc_spidev_initialize
|
||||
*
|
||||
* Description:
|
||||
* Called to configure SPI chip select GPIO pins for the NuTiny-EVB-120 board.
|
||||
*
|
||||
****************************************************************************************************/
|
||||
|
||||
void weak_function nuc_spiinitialize(void);
|
||||
void weak_function nuc_spidev_initialize(void);
|
||||
|
||||
/****************************************************************************************************
|
||||
* Name: nuc_usbinitialize
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue