Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: mcp2515.cpp
- Revision:
- 6:36e854e627f6
- Parent:
- 1:dbc44582f2f8
diff -r 7042ecbb801f -r 36e854e627f6 mcp2515.cpp
--- a/mcp2515.cpp Fri Jun 18 10:43:41 2010 +0000
+++ b/mcp2515.cpp Fri Jun 18 11:08:10 2010 +0000
@@ -130,7 +130,7 @@
//struct mcp251x_platform_data *pdata = spi->dev.platform_data;
printf("\n\rcanspeed=%d",bit_rate);
- int f_osc = 8000000; //4000000; //4Mhz
+ int f_osc = 16000000; //4000000; //4Mhz
int tqs; /* tbit/TQ */
int brp;
int ps1, ps2, propseg, sjw;