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:
co-authored by
Peter Feerick
parent
e98583ce28
commit
dd9e265e4f
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user