feat: Allow for Jumper T16 touchscreen mod using TX16S. #2060 for docs

* add HARDWARE_TOUCH to T16

* cleared and corrected

cleared and corrected

* forced indication of rst

forced indication of rst

* Update hal.h

* chore: Remove unnecessary T16 specific condition
Only unique cases should be added, and the pre-existing ELSE
already sets this value correctly.

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
This commit is contained in:
DuffyDuck
2022-07-31 11:33:05 +10:00
committed by GitHub
co-authored by Peter Feerick
parent e98583ce28
commit dd9e265e4f
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -93,6 +93,7 @@ if (PCB STREQUAL X10)
set(DEFAULT_INTERNAL_MODULE MULTIMODULE CACHE STRING "Default internal module")
option(BLUETOOTH "Support for bluetooth module" OFF)
option(INTERNAL_GPS "Support for internal NMEA GPS" ON)
set(HARDWARE_TOUCH YES)
add_definitions(-DMANUFACTURER_JUMPER)
if (NOT BLUETOOTH)
set(AUX2_SERIAL ON)
+1 -1
View File
@@ -727,7 +727,7 @@
#endif // HARDWARE_TOUCH
// First I2C Bus
#if defined(RADIO_T18)
#if defined(RADIO_T18) || defined(RADIO_T16)
#define I2C_B1 I2C3
#define I2C_B1_GPIO GPIOH
#define I2C_B1_SCL_GPIO_PIN LL_GPIO_PIN_7 // PH.07