feat: use (only) dedicated charge led on compatible Jumper handsets (#5512)
This commit is contained in:
@@ -75,6 +75,7 @@ if (PCB STREQUAL X10)
|
||||
endif()
|
||||
# Aux2 is reserved for serial gimbal on this radio
|
||||
set(AUX2_SERIAL OFF)
|
||||
set(USB_CHARGE_LED YES)
|
||||
add_definitions(-DMANUFACTURER_JUMPER)
|
||||
set(LCD_DRIVER lcd_st7796s_driver.cpp)
|
||||
elseif (PCBREV STREQUAL T16)
|
||||
@@ -341,6 +342,10 @@ if(SWSERIALPOWER)
|
||||
add_definitions(-DSWSERIALPOWER)
|
||||
endif()
|
||||
|
||||
if(USB_CHARGE_LED)
|
||||
add_definitions(-DUSB_CHARGE_LED)
|
||||
endif()
|
||||
|
||||
if(USB_CHARGER)
|
||||
add_definitions(-DUSB_CHARGER)
|
||||
target_sources(board PRIVATE ${TARGET_SRC_DIR}/usb_charger_driver.cpp)
|
||||
|
||||
Reference in New Issue
Block a user