1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:12:57 +01:00

pkg/lwip: Only enable ARP if Ethernet is supported

This commit is contained in:
Erik Ekman 2021-11-09 23:09:35 +01:00
parent 3677a93d96
commit 3aee2dde9d

View File

@ -32,7 +32,7 @@ extern "C" {
* @see lwIP documentation
* @{
*/
#ifdef MODULE_LWIP_ARP
#if defined(MODULE_LWIP_ARP) && defined(MODULE_LWIP_ETHERNET)
#define LWIP_ARP 1
#else /* MODULE_LWIP_ARP */
#define LWIP_ARP 0