mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-31 12:23:23 +08:00
[airspeed] baudrate change of mag sensor
This commit is contained in:
@@ -62,7 +62,7 @@ IMU_MPU_SPI_SLAVE_IDX ?= SPI_SLAVE1
|
|||||||
#
|
#
|
||||||
|
|
||||||
MAG_PITOT_PORT ?= UART5
|
MAG_PITOT_PORT ?= UART5
|
||||||
MAG_PITOT_BAUD ?= 125000
|
MAG_PITOT_BAUD ?= 250000
|
||||||
|
|
||||||
#
|
#
|
||||||
# default SPI logger configuration
|
# default SPI logger configuration
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
<makefile>
|
<makefile>
|
||||||
<!-- Configure default UART port and baudrate -->
|
<!-- Configure default UART port and baudrate -->
|
||||||
<configure name="MAG_PITOT_PORT" default="UART5" case="upper|lower"/>
|
<configure name="MAG_PITOT_PORT" default="UART5" case="upper|lower"/>
|
||||||
<configure name="MAG_PITOT_BAUD" default="125000"/>
|
<configure name="MAG_PITOT_BAUD" default="250000"/>
|
||||||
|
|
||||||
<!-- Enable UART and set baudrate -->
|
<!-- Enable UART and set baudrate -->
|
||||||
<define name="USE_$(MAG_PITOT_PORT_UPPER)"/>
|
<define name="USE_$(MAG_PITOT_PORT_UPPER)"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user