feat: Flysky PL18 Support (#4105)
Co-authored-by: raphaelcoeffic <raphael.coeffic@frafos.com> Co-authored-by: rotorman <risto.koiva@web.de> Co-authored-by: Xy201207 <yaoxu@flysky.com> Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
This commit is contained in:
co-authored by
raphaelcoeffic
rotorman
Xy201207
Peter Feerick
parent
5153aaeea0
commit
cc17046e7a
@@ -480,10 +480,6 @@ else()
|
||||
message( FATAL_ERROR "Unknown CPU_TYPE_FULL" )
|
||||
endif()
|
||||
|
||||
if(NOT PCB STREQUAL PCBXLITE)
|
||||
add_definitions(-DHARDWARE_TRAINER_JACK)
|
||||
endif()
|
||||
|
||||
if(ENABLE_SERIAL_PASSTHROUGH)
|
||||
set(CLI ON "Enable CLI")
|
||||
endif()
|
||||
|
||||
@@ -479,4 +479,12 @@ void setTopBatteryValue(uint32_t volts);
|
||||
#define VOLTAGE_DROP 20
|
||||
#endif
|
||||
|
||||
#if defined(RADIO_T20)
|
||||
#define NUM_TRIMS 8
|
||||
#else
|
||||
#define NUM_TRIMS 4
|
||||
#endif
|
||||
|
||||
#define NUM_TRIMS_KEYS (NUM_TRIMS * 2)
|
||||
|
||||
#endif // _BOARD_H_
|
||||
|
||||
Reference in New Issue
Block a user