Merge branch 'feature/set_phy_loopback' into 'master'
esp_eth: add PHY loopback control via esp_eth_ioctl Closes IDF-3865 See merge request espressif/esp-idf!15096
This commit is contained in:
@@ -242,7 +242,8 @@ static void initialize_ethernet(void)
|
||||
0x02, 0x00, 0x00, 0x12, 0x34, 0x56
|
||||
}));
|
||||
#endif
|
||||
esp_eth_ioctl(s_eth_handle, ETH_CMD_S_PROMISCUOUS, (void *)true);
|
||||
bool eth_promiscuous = true;
|
||||
esp_eth_ioctl(s_eth_handle, ETH_CMD_S_PROMISCUOUS, ð_promiscuous);
|
||||
esp_eth_start(s_eth_handle);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user