Skip to content

Commit

Permalink
hardcode address
Browse files Browse the repository at this point in the history
  • Loading branch information
heythisisnate committed May 13, 2024
1 parent edc3f38 commit fa1d89b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/modules/eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ static int leth_init( lua_State *L )
if (err != ESP_OK)
return luaL_error (L, "Read PHY RMSR Register failed");

err = mac->write_phy_reg(mac, phy_cfg.phy_addr, RTL8201_RMSR_REG_ADDR, 0x1FFA);
err = mac->write_phy_reg(mac, phy_cfg.phy_addr, 0x10, 0x1FFA);
if (err != ESP_OK)
return luaL_error (L, "Setting Register 16 RMII Mode Setting failed");

Expand Down

0 comments on commit fa1d89b

Please sign in to comment.