mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
quit if no valid board profile
This commit is contained in:
@@ -489,6 +489,8 @@ void System::network_init(bool refresh) {
|
|||||||
mdio = 18;
|
mdio = 18;
|
||||||
type = ETH_PHY_TLK110;
|
type = ETH_PHY_TLK110;
|
||||||
clock_mode = ETH_CLOCK_GPIO0_IN;
|
clock_mode = ETH_CLOCK_GPIO0_IN;
|
||||||
|
} else {
|
||||||
|
return; // invalid combi
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef EMSESP_STANDALONE
|
#ifndef EMSESP_STANDALONE
|
||||||
|
|||||||
Reference in New Issue
Block a user