mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +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
|
||||
* operation.
|
||||
*/
|
||||
|
||||
flags = enter_critical_section();
|
||||
|
||||
#ifdef CONFIG_MMCSD_SDIOWAIT_WRCOMPLETE
|
||||
@@ -1899,8 +1900,8 @@ static int stm32_sdmmc_interrupt(int irq, void *context, void *arg)
|
||||
#ifdef CONFIG_SDIO_MUXBUS
|
||||
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);
|
||||
return OK;
|
||||
}
|
||||
|
||||
@@ -148,7 +148,6 @@ int stm32_bringup(void)
|
||||
|
||||
#ifdef HAVE_SDIO
|
||||
ret = stm32_sdio_initialize();
|
||||
|
||||
if (ret < 0)
|
||||
{
|
||||
syslog(LOG_ERR, "ERROR: stm32_n25qxxx_setup failed: %d\n", ret);
|
||||
|
||||
@@ -47,7 +47,6 @@
|
||||
#include <nuttx/sdio.h>
|
||||
#include <nuttx/mmcsd.h>
|
||||
|
||||
|
||||
#include "stm32_gpio.h"
|
||||
#include "stm32_sdmmc.h"
|
||||
#include "stm32f746g-disco.h"
|
||||
|
||||
Reference in New Issue
Block a user