mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 09:43:35 +08:00
Various STM32 SDIO and DMA fixes (SDIO DMA still does not work)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4406 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -484,11 +484,14 @@ static ssize_t ramlog_write(FAR struct file *filep, FAR const char *buffer, size
|
||||
#if !defined(CONFIG_RAMLOG_NONBLOCKING) || !defined(CONFIG_DISABLE_POLL)
|
||||
if (nwritten > 0)
|
||||
{
|
||||
irqstate_t flags;
|
||||
#ifndef CONFIG_RAMLOG_NONBLOCKING
|
||||
int i;
|
||||
#endif
|
||||
|
||||
/* Are there threads waiting for read data? */
|
||||
|
||||
irqstate_t flags = irqsave();
|
||||
flags = irqsave();
|
||||
#ifndef CONFIG_RAMLOG_NONBLOCKING
|
||||
for (i = 0; i < priv->rl_nwaiters; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user