git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2183 35acf78f-673a-0410-8e92-d51de3d6d3f4

This commit is contained in:
gdisirio 2010-09-20 10:02:19 +00:00
parent 0672a430f7
commit 16855e1a4e
4 changed files with 3 additions and 4 deletions

View File

@ -39,7 +39,7 @@
* @details The other bits are not defined and may be used as device-specific * @details The other bits are not defined and may be used as device-specific
* option bits. * option bits.
*/ */
#define PAL_MODE_MASK 0xF #define PAL_MODE_MASK 0x1F
/** /**
* @brief After reset state. * @brief After reset state.

View File

@ -87,7 +87,6 @@ typedef struct {
list. */ list. */
VirtualTimer *vt_prev; /**< @brief Last timer in the delta VirtualTimer *vt_prev; /**< @brief Last timer in the delta
list. */ list. */
systime_t vt_time; /**< @brief Must be initialized to -1. */
volatile systime_t vt_systime; /**< @brief System Time counter. */ volatile systime_t vt_systime; /**< @brief System Time counter. */
} VTList; } VTList;

View File

@ -40,7 +40,6 @@ VTList vtlist;
void vt_init(void) { void vt_init(void) {
vtlist.vt_next = vtlist.vt_prev = (void *)&vtlist; vtlist.vt_next = vtlist.vt_prev = (void *)&vtlist;
vtlist.vt_time = (systime_t)-1;
vtlist.vt_systime = 0; vtlist.vt_systime = 0;
} }

View File

@ -108,11 +108,12 @@
change). change).
- NEW: Added to the documentation more notes about interrupt handlers in - NEW: Added to the documentation more notes about interrupt handlers in
the ARM7 port. 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 SPI driver, improved latency.
- OPT: Speed optimizations of the STM32 ADC driver. - OPT: Speed optimizations of the STM32 ADC driver.
- CHANGE: The event APIs chEvtPend() and chEvtClear() have been renamed - CHANGE: The event APIs chEvtPend() and chEvtClear() have been renamed
to chEvtAddFlags() and chEvtClearFlags() for consistency and correct 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 - CHANGE: Added a parameter to the UART driver callbacks, the pointer to the
driver itself. driver itself.
- CHANGE: In the UART driver now an error does not automatically brings the - CHANGE: In the UART driver now an error does not automatically brings the