aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-09-20 10:02:19 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-09-20 10:02:19 +0000
commit16855e1a4e43b4b45e5b5a595628ab1d8c108093 (patch)
tree45c3c43e8582dd919bda0c4952244aaf8af5ef5a
parent0672a430f7581bd6e325ab18e49346beb6b1bb9d (diff)
downloadChibiOS-16855e1a4e43b4b45e5b5a595628ab1d8c108093.tar.gz
ChibiOS-16855e1a4e43b4b45e5b5a595628ab1d8c108093.tar.bz2
ChibiOS-16855e1a4e43b4b45e5b5a595628ab1d8c108093.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2183 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--os/hal/include/pal.h2
-rw-r--r--os/kernel/include/chvt.h1
-rw-r--r--os/kernel/src/chvt.c1
-rw-r--r--readme.txt3
4 files changed, 3 insertions, 4 deletions
diff --git a/os/hal/include/pal.h b/os/hal/include/pal.h
index 6a5c18f16..2530471eb 100644
--- a/os/hal/include/pal.h
+++ b/os/hal/include/pal.h
@@ -39,7 +39,7 @@
* @details The other bits are not defined and may be used as device-specific
* option bits.
*/
-#define PAL_MODE_MASK 0xF
+#define PAL_MODE_MASK 0x1F
/**
* @brief After reset state.
diff --git a/os/kernel/include/chvt.h b/os/kernel/include/chvt.h
index 65a1c5bb4..8b065b208 100644
--- a/os/kernel/include/chvt.h
+++ b/os/kernel/include/chvt.h
@@ -87,7 +87,6 @@ typedef struct {
list. */
VirtualTimer *vt_prev; /**< @brief Last timer in the delta
list. */
- systime_t vt_time; /**< @brief Must be initialized to -1. */
volatile systime_t vt_systime; /**< @brief System Time counter. */
} VTList;
diff --git a/os/kernel/src/chvt.c b/os/kernel/src/chvt.c
index 8be1926ca..058433c09 100644
--- a/os/kernel/src/chvt.c
+++ b/os/kernel/src/chvt.c
@@ -40,7 +40,6 @@ VTList vtlist;
void vt_init(void) {
vtlist.vt_next = vtlist.vt_prev = (void *)&vtlist;
- vtlist.vt_time = (systime_t)-1;
vtlist.vt_systime = 0;
}
diff --git a/readme.txt b/readme.txt
index a21e6b73a..f72c7cf2a 100644
--- a/readme.txt
+++ b/readme.txt
@@ -108,11 +108,12 @@
change).
- NEW: Added to the documentation more notes about interrupt handlers in
the ARM7 port.
+- OPT: Removed an unused field in the VTList structure.
- OPT: Speed optimizations of the STM32 SPI driver, improved latency.
- OPT: Speed optimizations of the STM32 ADC driver.
- CHANGE: The event APIs chEvtPend() and chEvtClear() have been renamed
to chEvtAddFlags() and chEvtClearFlags() for consistency and correct
- English (which I am famous for...).
+ English.
- CHANGE: Added a parameter to the UART driver callbacks, the pointer to the
driver itself.
- CHANGE: In the UART driver now an error does not automatically brings the