mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Use of GPIO is conditioned on CONFIG_ENC238J60
This commit is contained in:
@@ -433,7 +433,7 @@ static struct str71x_spidev_s g_spidev0 =
|
||||
};
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_STR71X_BSPI1
|
||||
#if defined(CONFIG_STR71X_BSPI1) && defined(CONFIG_ENC28J60)
|
||||
static struct str71x_spidev_s g_spidev1 =
|
||||
{
|
||||
.spidev = { &g_spiops },
|
||||
|
||||
Reference in New Issue
Block a user