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"
|
||||
|
||||
#ifndef HAL_SPI_SCK_SAVE_RESTORE
|
||||
#define HAL_SPI_SCK_SAVE_RESTORE TRUE
|
||||
#define HAL_SPI_SCK_SAVE_RESTORE !defined(STM32F1)
|
||||
#endif
|
||||
|
||||
namespace ChibiOS {
|
||||
|
Loading…
Reference in New Issue
Block a user