🔨 Fix HAL/STM32 F103Zx builds (#22610)
This commit is contained in:
committed by
Scott Lahteine
parent
5e97f37a78
commit
086fa0f0a7
@ -217,7 +217,7 @@ void plan_arc(
|
||||
* tool precision in some cases. Therefore, arc path correction is implemented.
|
||||
*
|
||||
* Small angle approximation may be used to reduce computation overhead further. This approximation
|
||||
* holds for everything, but very small circles and large MM_PER_ARC_SEGMENT values. In other words,
|
||||
* holds for everything, but very small circles and large MAX_ARC_SEGMENT_MM values. In other words,
|
||||
* theta_per_segment would need to be greater than 0.1 rad and N_ARC_CORRECTION would need to be large
|
||||
* to cause an appreciable drift error. N_ARC_CORRECTION~=25 is more than small enough to correct for
|
||||
* numerical drift error. N_ARC_CORRECTION may be on the order a hundred(s) before error becomes an
|
||||
|
@ -147,6 +147,9 @@
|
||||
#define FSMC_CS_PIN PD7 // NE4
|
||||
#define FSMC_RS_PIN PD11 // A0
|
||||
|
||||
#define TFT_CS_PIN FSMC_CS_PIN
|
||||
#define TFT_RS_PIN FSMC_RS_PIN
|
||||
|
||||
#define LCD_USE_DMA_FSMC // Use DMA transfers to send data to the TFT
|
||||
#define FSMC_DMA_DEV DMA2
|
||||
#define FSMC_DMA_CHANNEL DMA_CH5
|
||||
|
Reference in New Issue
Block a user