mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-29 21:33:35 +08:00
STM32 example - notes on auto bit rate detection
This commit is contained in:
@@ -28,6 +28,13 @@ void init()
|
|||||||
{
|
{
|
||||||
board::init();
|
board::init();
|
||||||
|
|
||||||
|
/*
|
||||||
|
* CAN auto bit rate detection.
|
||||||
|
* Automatic bit rate detection requires that the bus has at least one other CAN node publishing some
|
||||||
|
* frames periodically.
|
||||||
|
* Auto bit rate detection can be bypassed byif the desired bit rate is passed directly to can.init(), e.g.:
|
||||||
|
* can.init(1000000);
|
||||||
|
*/
|
||||||
int res = 0;
|
int res = 0;
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user