Skip to content

Commit 7e3dec5

Browse files
Formatting
1 parent 8de3816 commit 7e3dec5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/portable/NetworkInterface/Common/phyHandling.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -694,14 +694,14 @@ BaseType_t xPhyStartAutoNegotiation( EthernetPhy_t * pxPhyObject,
694694
ulRegValue = 0;
695695

696696
/* Detect 10Mb operation */
697-
if(( ulPortOperationMode & 0x2) == 0)
697+
if( ( ulPortOperationMode & 0x2 ) == 0 )
698698
{
699699
/* phyPHYSTS_SPEED_STATUS: 1=10Mb, 0=100Mb */
700700
ulRegValue |= phyPHYSTS_SPEED_STATUS;
701701
}
702702

703703
/* Detect full duplex operation */
704-
if( ulPortOperationMode & 0x1)
704+
if( ulPortOperationMode & 0x1 )
705705
{
706706
ulRegValue |= phyPHYSTS_DUPLEX_STATUS;
707707
}

0 commit comments

Comments
 (0)