Skip to content

Commit 5af1e65

Browse files
committed
lpc1788 fixed comment emac configure
1 parent 96a9bb0 commit 5af1e65

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

targets/core/nxp/lpc178x/emac.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -425,10 +425,10 @@ namespace klib::core::lpc178x::io {
425425
Emac::port->IPGT = 0x15;
426426
}
427427
else {
428-
// enable full duplex on the MAC
428+
// disable full duplex on the MAC
429429
Emac::port->MAC2 &= (~0x1);
430430

431-
// enable full duplex in the command register
431+
// disable full duplex in the command register
432432
Emac::port->COMMAND &= (~(0x1 << 10));
433433

434434
// change the packet to packet gap register

0 commit comments

Comments
 (0)