HAL_ChibiOS: fixed SPI build on F1xx

F1 does not have palReadLineMode()
This commit is contained in:
Andrew Tridgell 2023-12-20 06:06:02 +11:00
parent 46dd402a1a
commit a94484d770
1 changed files with 1 additions and 1 deletions

View File

@ -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 {