mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-18 08:54:15 +01:00
spi: remove internal pull-up from input data lines
The input data lines between the OP and AHRS boards had internal pull-ups enabled. This seemed to be causing issues early on during development of the inter-board comms. Not sure if this is still necessary but this is how the current code was tested. git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1006 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
e3824a6d78
commit
0e6294ca27
@ -121,7 +121,7 @@ static const struct pios_spi_cfg pios_spi_op_cfg = {
|
||||
.init = {
|
||||
.GPIO_Pin = GPIO_Pin_15,
|
||||
.GPIO_Speed = GPIO_Speed_50MHz,
|
||||
.GPIO_Mode = GPIO_Mode_IPU,
|
||||
.GPIO_Mode = GPIO_Mode_IN_FLOATING,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
@ -211,7 +211,7 @@ const struct pios_spi_cfg pios_spi_ahrs_cfg = {
|
||||
.init = {
|
||||
.GPIO_Pin = GPIO_Pin_14,
|
||||
.GPIO_Speed = GPIO_Speed_50MHz,
|
||||
.GPIO_Mode = GPIO_Mode_IPU,
|
||||
.GPIO_Mode = GPIO_Mode_IN_FLOATING,
|
||||
},
|
||||
},
|
||||
.mosi = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user