Skip to content

Commit

Permalink
Drop OLED flip for TS80P
Browse files Browse the repository at this point in the history
  • Loading branch information
Ralim authored Apr 9, 2024
1 parent 87a9996 commit 40d3979
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
#define FLASH_BOOTLDR_SIZE_KB 17
#define FLASH_BOOTLDR_PAYLOAD_SIZE_KB 111

#elif MODEL_TS80 || MODEL_TS80P
#elif MODEL_TS80P
#define GPIO_DFU_BOOT_PORT GPIOB
#define GPIO_DFU_BOOT_PIN 1
#define OLED_RESET_Pin 15
Expand All @@ -55,6 +55,15 @@
#define FLASH_BOOTLDR_PAYLOAD_SIZE_KB 112
#define OLED_FLIP

#elif MODEL_TS80
#define GPIO_DFU_BOOT_PORT GPIOB
#define GPIO_DFU_BOOT_PIN 1
#define OLED_RESET_Pin 15
#define OLED_RESET_GPIO_Port GPIOA
#define FLASH_SIZE_KB 128
#define FLASH_BOOTLDR_SIZE_KB 16
#define FLASH_BOOTLDR_PAYLOAD_SIZE_KB 112

#elif MODEL_MHP30
#define GPIO_DFU_BOOT_PORT GPIOA
#define GPIO_DFU_BOOT_PIN 10
Expand Down

0 comments on commit 40d3979

Please sign in to comment.