X9D+ 2019 Bootloader: wait needed before detecting trims are pressed

as done on Horus...
This commit is contained in:
Bertrand Songis
2019-12-02 08:26:17 +01:00
parent adbe72d76f
commit a27417c497
3 changed files with 7 additions and 4 deletions
+1
View File
@@ -228,6 +228,7 @@
#define TRIMS_GPIO_REG_RHL GPIOD->IDR
#define TRIMS_GPIO_PIN_RHL GPIO_Pin_9 // PD.09
#elif defined(PCBX9DP) && PCBREV >= 2019
#define BOOTLOADER_WAIT_BEFORE_READ_TRIMS
#define TRIMS_GPIO_REG_LHL GPIOE->IDR
#define TRIMS_GPIO_PIN_LHL GPIO_Pin_3 // PE.03
#define TRIMS_GPIO_REG_LHR GPIOE->IDR