diff options
author | Thomas Daede <bztdlinux@gmail.com> | 2012-10-28 11:56:22 +0400 |
---|---|---|
committer | Thomas Daede <bztdlinux@gmail.com> | 2012-10-28 11:56:22 +0400 |
commit | 0fd7cc3559eb3c180de97898edbfd77f827a83b1 (patch) | |
tree | bbcb819983ac89aa4419caecbb6314b26ff6dc47 /include/libopencm3/stm32/can.h | |
parent | f385341495edafceca39a087dcae0eeb833fd14d (diff) |
Fix CAN standard ID mask to be 11 bits.
Diffstat (limited to 'include/libopencm3/stm32/can.h')
-rw-r--r-- | include/libopencm3/stm32/can.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libopencm3/stm32/can.h b/include/libopencm3/stm32/can.h index d6636d5f..cdb5df19 100644 --- a/include/libopencm3/stm32/can.h +++ b/include/libopencm3/stm32/can.h @@ -458,7 +458,7 @@ /* --- CAN_TIxR values ------------------------------------------------------ */ /* STID[10:0]: Standard identifier */ -#define CAN_TIxR_STID_MASK (0x3FF << 21) +#define CAN_TIxR_STID_MASK (0x7FF << 21) #define CAN_TIxR_STID_SHIFT 21 /* EXID[15:0]: Extended identifier */ |