mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
STM32 F7 SDMMC: Cosmetic changes from application of tools/nxstyle to all files modified in last PR.
This commit is contained in:
@@ -889,6 +889,7 @@ static void stm32_configwaitints(struct stm32_dev_s *priv, uint32_t waitmask,
|
|||||||
/* Save all of the data and set the new interrupt mask in one, atomic
|
/* Save all of the data and set the new interrupt mask in one, atomic
|
||||||
* operation.
|
* operation.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
flags = enter_critical_section();
|
flags = enter_critical_section();
|
||||||
|
|
||||||
#ifdef CONFIG_MMCSD_SDIOWAIT_WRCOMPLETE
|
#ifdef CONFIG_MMCSD_SDIOWAIT_WRCOMPLETE
|
||||||
@@ -1899,8 +1900,8 @@ static int stm32_sdmmc_interrupt(int irq, void *context, void *arg)
|
|||||||
#ifdef CONFIG_SDIO_MUXBUS
|
#ifdef CONFIG_SDIO_MUXBUS
|
||||||
static int stm32_lock(FAR struct sdio_dev_s *dev, bool lock)
|
static int stm32_lock(FAR struct sdio_dev_s *dev, bool lock)
|
||||||
{
|
{
|
||||||
/* The multiplex bus is part of board support package.
|
/* The multiplex bus is part of board support package. */
|
||||||
*/
|
|
||||||
stm32_muxbus_sdio_lock(dev, lock);
|
stm32_muxbus_sdio_lock(dev, lock);
|
||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -148,7 +148,6 @@ int stm32_bringup(void)
|
|||||||
|
|
||||||
#ifdef HAVE_SDIO
|
#ifdef HAVE_SDIO
|
||||||
ret = stm32_sdio_initialize();
|
ret = stm32_sdio_initialize();
|
||||||
|
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
syslog(LOG_ERR, "ERROR: stm32_n25qxxx_setup failed: %d\n", ret);
|
syslog(LOG_ERR, "ERROR: stm32_n25qxxx_setup failed: %d\n", ret);
|
||||||
|
|||||||
@@ -47,7 +47,6 @@
|
|||||||
#include <nuttx/sdio.h>
|
#include <nuttx/sdio.h>
|
||||||
#include <nuttx/mmcsd.h>
|
#include <nuttx/mmcsd.h>
|
||||||
|
|
||||||
|
|
||||||
#include "stm32_gpio.h"
|
#include "stm32_gpio.h"
|
||||||
#include "stm32_sdmmc.h"
|
#include "stm32_sdmmc.h"
|
||||||
#include "stm32f746g-disco.h"
|
#include "stm32f746g-disco.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user