diff options
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/platforms/AT91SAM7/at91sam7_mii.c | 10 | ||||
-rw-r--r-- | os/hal/platforms/LPC214x/lpc214x.h | 2 | ||||
-rw-r--r-- | os/hal/platforms/Win32/hal_lld.c | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/os/hal/platforms/AT91SAM7/at91sam7_mii.c b/os/hal/platforms/AT91SAM7/at91sam7_mii.c index 707a373b9..4d7d0006a 100644 --- a/os/hal/platforms/AT91SAM7/at91sam7_mii.c +++ b/os/hal/platforms/AT91SAM7/at91sam7_mii.c @@ -81,14 +81,14 @@ void miiReset(MACDriver *macp) { /*
* PHY power control.
*/
- AT91C_BASE_PIOB->PIO_OER = PIOB_PHY_PD_MASK; // Becomes an output.
- AT91C_BASE_PIOB->PIO_PPUDR = PIOB_PHY_PD_MASK; // Default pullup disabled.
+ AT91C_BASE_PIOB->PIO_OER = PIOB_PHY_PD_MASK; /* Becomes an output. */
+ AT91C_BASE_PIOB->PIO_PPUDR = PIOB_PHY_PD_MASK;/* Default pullup disabled. */
#if (PHY_HARDWARE == PHY_DAVICOM_9161)
- AT91C_BASE_PIOB->PIO_CODR = PIOB_PHY_PD_MASK; // Output to low level.
+ AT91C_BASE_PIOB->PIO_CODR = PIOB_PHY_PD_MASK; /* Output to low level. */
#else
- AT91C_BASE_PIOB->PIO_SODR = PIOB_PHY_PD_MASK; // Output to high level.
+ AT91C_BASE_PIOB->PIO_SODR = PIOB_PHY_PD_MASK; /* Output to high level. */
+#endif
#endif
-#endif // PIOB_PHY_PD_MASK
/*
* PHY reset by pulsing the NRST pin.
diff --git a/os/hal/platforms/LPC214x/lpc214x.h b/os/hal/platforms/LPC214x/lpc214x.h index b30996568..d1990bea9 100644 --- a/os/hal/platforms/LPC214x/lpc214x.h +++ b/os/hal/platforms/LPC214x/lpc214x.h @@ -277,7 +277,7 @@ typedef struct { IOREG32 UART_FCR;
};
IOREG32 UART_LCR;
- IOREG32 UART_MCR; // UART1 only
+ IOREG32 UART_MCR;
IOREG32 UART_LSR;
IOREG32 unused18;
IOREG32 UART_SCR;
diff --git a/os/hal/platforms/Win32/hal_lld.c b/os/hal/platforms/Win32/hal_lld.c index 5906e372c..48d017f2f 100644 --- a/os/hal/platforms/Win32/hal_lld.c +++ b/os/hal/platforms/Win32/hal_lld.c @@ -89,7 +89,7 @@ void ChkIntSources(void) { }
#endif
- // Interrupt Timer simulation (10ms interval).
+ /* Interrupt Timer simulation (10ms interval).*/
QueryPerformanceCounter(&n);
if (n.QuadPart > nextcnt.QuadPart) {
nextcnt.QuadPart += slice.QuadPart;
|