aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPiotr Esden-Tempski2012-10-31 13:37:19 -0700
committerPiotr Esden-Tempski2012-10-31 13:37:19 -0700
commit60aa32e2b91a28d522b6660c84ac8c50bf8e6a05 (patch)
tree098100236649e03f992f57685e7048fa92083215 /include
parent68e68187616c535622ccd5180806935dee0e0d38 (diff)
parent0fd7cc3559eb3c180de97898edbfd77f827a83b1 (diff)
Merge pull request #53 CAN fixes
Merge remote-tracking branch 'tdaede/master'
Diffstat (limited to 'include')
-rw-r--r--include/libopencm3/stm32/can.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libopencm3/stm32/can.h b/include/libopencm3/stm32/can.h
index d6636d5..cdb5df1 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 */