aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-01-06 09:20:21 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-01-06 09:20:21 +0000
commitc56e9ea70a9a8e79f00fb70fb4278b9bd7bf3ae7 (patch)
tree1cfa3cf5ddc669bc03eb517b12d6f9c5351726b9 /os/hal/platforms
parent28b69f3e808c26eb4e4f84d44b93c7a6a63e53d1 (diff)
downloadChibiOS-c56e9ea70a9a8e79f00fb70fb4278b9bd7bf3ae7.tar.gz
ChibiOS-c56e9ea70a9a8e79f00fb70fb4278b9bd7bf3ae7.tar.bz2
ChibiOS-c56e9ea70a9a8e79f00fb70fb4278b9bd7bf3ae7.zip
Removed instances of //
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3746 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms')
-rw-r--r--os/hal/platforms/AT91SAM7/at91sam7_mii.c10
-rw-r--r--os/hal/platforms/LPC214x/lpc214x.h2
-rw-r--r--os/hal/platforms/Win32/hal_lld.c2
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;