Skip to content

Commit

Permalink
rpmsg_port_spi_slave: fix compile error when enable RPMSG_PORT_SPI_SL…
Browse files Browse the repository at this point in the history
…AVE only

Change-Id: I4efd6037ab91f0fae1d7885f2df757d52314b5cb
Signed-off-by: liaoao <[email protected]>
  • Loading branch information
leo11261 committed Oct 11, 2024
1 parent 69f3774 commit c12faa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/nuttx/rpmsg/rpmsg_port.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ struct rpmsg_port_config_s
FAR void *rxbuf;
};

#ifdef CONFIG_RPMSG_PORT_SPI
#if defined(CONFIG_RPMSG_PORT_SPI) || defined(CONFIG_RPMSG_PORT_SPI_SLAVE)

/* There are two gpios used for communication between two chips. At the SPI
* master side, mreq is an output gpio pin which is used to notify the
Expand Down

0 comments on commit c12faa2

Please sign in to comment.