Skip to content

Commit

Permalink
arch/arm/samv7: fix preprocessor logic for ethernet
Browse files Browse the repository at this point in the history
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
  • Loading branch information
pkarashchenko committed Oct 13, 2024
1 parent b964eee commit eb2914f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/src/samv7/sam_ethernet.h
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ int sam_emac_setmacaddr(int intf, uint8_t mac[6]);
*
****************************************************************************/

#if defined(CONFIG_SAMV7_EMAC0_PHYINIT) | defined(CONFIG_SAMV7_EMAC1_PHYINIT)
#if defined(CONFIG_SAMV7_EMAC0_PHYINIT) || defined(CONFIG_SAMV7_EMAC1_PHYINIT)
int sam_phy_boardinitialize(int intf);
#endif

Expand Down

0 comments on commit eb2914f

Please sign in to comment.