diff options
| -rw-r--r-- | os/hal/include/pal.h | 2 | ||||
| -rw-r--r-- | os/kernel/include/chvt.h | 1 | ||||
| -rw-r--r-- | os/kernel/src/chvt.c | 1 | ||||
| -rw-r--r-- | readme.txt | 3 | 
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
 | 
