You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2021/01/26 13:12:12 UTC
[incubator-nuttx] 03/13: drivers: modem: altair: altmdm_spi.h:
nxstyle fixes
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit baac749d4f0cbf17fa92d0dbd09f254b70893d28
Author: Alin Jerpelea <al...@sony.com>
AuthorDate: Tue Jan 26 08:27:51 2021 +0100
drivers: modem: altair: altmdm_spi.h: nxstyle fixes
Nxstyle fixes to pass CI
Signed-off-by: Alin Jerpelea <al...@sony.com>
---
drivers/modem/altair/altmdm_spi.h | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/drivers/modem/altair/altmdm_spi.h b/drivers/modem/altair/altmdm_spi.h
index 0240fe3..09076d0 100644
--- a/drivers/modem/altair/altmdm_spi.h
+++ b/drivers/modem/altair/altmdm_spi.h
@@ -106,8 +106,11 @@ struct altmdm_spi_rx_s
int8_t status_info; /* Header status information */
int32_t actual_size; /* Actual data size */
int32_t total_size; /* Data size of 4byte alignment. */
+
FAR struct altmdm_spi_rxbuff_s *rxbuff; /* Current receive buffer. */
- bool rxabort; /* Indicates whether the rx process is aborted. */
+ bool rxabort; /* Indicates whether the rx process
+ * is aborted.
+ */
};
/* This structure describes the parameters for sleep modem. */
@@ -135,12 +138,15 @@ struct altmdm_spi_dev_s
bool is_not_run; /* Indicates xfer task is not run. */
int32_t task_id; /* xfer task ID. */
bool is_xferready; /* Indicates whether the modem is ready to xfer. */
+
struct altmdm_sys_flag_s xferready_flag; /* Used for waiting ready to
* xfer.
*/
+
struct altmdm_sys_flag_s xfer_flag; /* Used for event handling of xfer
* task.
*/
+
struct altmdm_sys_flag_s dma_done_flag; /* Notify that DMA transfer has
* been completed.
*/