aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms
diff options
context:
space:
mode:
authorbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-12-17 19:08:16 +0000
committerbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-12-17 19:08:16 +0000
commite062d102509b81aed745ca0367fa0053495b8761 (patch)
treeb4e2e924612820f2071c02859b5b52a323f6f587 /os/hal/platforms
parent843b44675be048abf04541be2fa00242384dfc01 (diff)
downloadChibiOS-e062d102509b81aed745ca0367fa0053495b8761.tar.gz
ChibiOS-e062d102509b81aed745ca0367fa0053495b8761.tar.bz2
ChibiOS-e062d102509b81aed745ca0367fa0053495b8761.zip
Cleaned "//" comments.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3628 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms')
-rw-r--r--os/hal/platforms/STM32/RTCv2/rtc_lld.c18
-rw-r--r--os/hal/platforms/STM32/i2c_lld.c4
2 files changed, 2 insertions, 20 deletions
diff --git a/os/hal/platforms/STM32/RTCv2/rtc_lld.c b/os/hal/platforms/STM32/RTCv2/rtc_lld.c
index 171105a75..89d688236 100644
--- a/os/hal/platforms/STM32/RTCv2/rtc_lld.c
+++ b/os/hal/platforms/STM32/RTCv2/rtc_lld.c
@@ -32,24 +32,6 @@
#if HAL_USE_RTC || defined(__DOXYGEN__)
/*===========================================================================*/
-/* Notes. */
-/*===========================================================================*/
-/*
-This structure is used to hold the values representing a calendar time.
-It contains the following members, with the meanings as shown.
-
-int tm_sec // seconds after minute [0-61] (61 allows for 2 leap-seconds)
-int tm_min // minutes after hour [0-59]
-int tm_hour // hours after midnight [0-23]
-int tm_mday // day of the month [1-31]
-int tm_mon // month of year [0-11]
-int tm_year // current year-1900
-int tm_wday // days since Sunday [0-6]
-int tm_yday // days since January 1st [0-365]
-int tm_isdst // daylight savings indicator (1 = yes, 0 = no, -1 = unknown)
-*/
-
-/*===========================================================================*/
/* Driver exported variables. */
/*===========================================================================*/
diff --git a/os/hal/platforms/STM32/i2c_lld.c b/os/hal/platforms/STM32/i2c_lld.c
index cd040b6d1..a7e89c61e 100644
--- a/os/hal/platforms/STM32/i2c_lld.c
+++ b/os/hal/platforms/STM32/i2c_lld.c
@@ -508,7 +508,7 @@ void i2c_lld_master_receive(I2CDriver *i2cp, uint8_t slave_addr,
i2cp->errors = 0;
mode = STM32_DMA_CR_DIR_P2M;
- // TODO: DMA error handling
+ /* TODO: DMA error handling */
dmaStreamSetMemory0(i2cp->dmarx, rxbuf);
dmaStreamSetTransactionSize(i2cp->dmarx, rxbytes);
dmaStreamSetMode(i2cp->dmarx, ((i2cp->dmamode) | mode));
@@ -553,7 +553,7 @@ void i2c_lld_master_transmit(I2CDriver *i2cp, uint8_t slave_addr,
i2cp->errors = 0;
mode = STM32_DMA_CR_DIR_M2P;
- // TODO: DMA error handling
+ /* TODO: DMA error handling */
dmaStreamSetMemory0(i2cp->dmatx, txbuf);
dmaStreamSetTransactionSize(i2cp->dmatx, txbytes);
dmaStreamSetMode(i2cp->dmatx, ((i2cp->dmamode) | mode));