mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
STM32 example - notes on auto bit rate detection
This commit is contained in:
parent
8d726ec86d
commit
7bbb368967
@ -28,6 +28,13 @@ void 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;
|
||||
do
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user