mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-12 01:23:56 -03:00
HAL_ChibiOS: fixed SPI build on F1xx
F1 does not have palReadLineMode()
This commit is contained in:
parent
46dd402a1a
commit
a94484d770
@ -26,7 +26,7 @@
|
|||||||
#include "Device.h"
|
#include "Device.h"
|
||||||
|
|
||||||
#ifndef HAL_SPI_SCK_SAVE_RESTORE
|
#ifndef HAL_SPI_SCK_SAVE_RESTORE
|
||||||
#define HAL_SPI_SCK_SAVE_RESTORE TRUE
|
#define HAL_SPI_SCK_SAVE_RESTORE !defined(STM32F1)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace ChibiOS {
|
namespace ChibiOS {
|
||||||
|
Loading…
Reference in New Issue
Block a user