mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_ChibiOS: do not run through SPI_RX and TX as well
we use MISO and MOSI name for SPI
This commit is contained in:
parent
61593e2b36
commit
9dca511e7e
|
@ -2404,6 +2404,8 @@ INCLUDE common.ld
|
||||||
gpioset = set()
|
gpioset = set()
|
||||||
for label in self.bylabel:
|
for label in self.bylabel:
|
||||||
p = self.bylabel[label]
|
p = self.bylabel[label]
|
||||||
|
if 'SPI' in label and ('RX' in label or 'TX' in label):
|
||||||
|
continue
|
||||||
gpio = p.extra_value('GPIO', type=int)
|
gpio = p.extra_value('GPIO', type=int)
|
||||||
if gpio is None:
|
if gpio is None:
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue