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

Signed-off-by: liaoao <[email protected]>
  • Loading branch information
leo11261 authored and xiaoxiang781216 committed Oct 11, 2024
1 parent de1701c commit 82ef95b
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 82ef95b

Please sign in to comment.