refactor: remove CH390 bitbang read path and sync manuals
This commit is contained in:
@@ -123,13 +123,6 @@ void ch390_runtime_init(struct netif *netif, const uint8_t *mac)
|
||||
SEGGER_RTT_WriteString(0, "ETH init: probe\r\n");
|
||||
g_ch390_ready = ch390_runtime_probe_identity();
|
||||
if (g_ch390_ready == 0u) {
|
||||
SEGGER_RTT_printf(0,
|
||||
"CH390 bitbang VIDL=0x%02X VIDH=0x%02X PIDL=0x%02X PIDH=0x%02X CHIPR=0x%02X\r\n",
|
||||
ch390_bitbang_read_reg(CH390_VIDL),
|
||||
ch390_bitbang_read_reg(CH390_VIDH),
|
||||
ch390_bitbang_read_reg(CH390_PIDL),
|
||||
ch390_bitbang_read_reg(CH390_PIDH),
|
||||
ch390_bitbang_read_reg(CH390_CHIPR));
|
||||
netif->hwaddr_len = ETHARP_HWADDR_LEN;
|
||||
netif->mtu = 1500;
|
||||
netif->flags = NETIF_FLAG_BROADCAST | NETIF_FLAG_ETHARP;
|
||||
|
||||
Reference in New Issue
Block a user