Convert W6300 #defines to constexpr/inline across all headers

This commit is contained in:
Ian Gulliver
2026-04-04 17:21:57 +09:00
parent 92e00476da
commit 224fe4f7eb
5 changed files with 590 additions and 936 deletions

View File

@@ -91,7 +91,6 @@ void wiz_delay_ms(uint32_t milliseconds) {
}
}
#if (_PHY_IO_MODE_ == _PHY_IO_MODE_MII_)
void wiz_mdio_write(uint8_t phyregaddr, uint16_t var) {
setPHYRAR(phyregaddr);
setPHYDIR(var);
@@ -105,4 +104,3 @@ uint16_t wiz_mdio_read(uint8_t phyregaddr) {
while (getPHYACR());
return getPHYDOR();
}
#endif