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
@@ -22,6 +22,8 @@
|
||||
#include "key_driver.h"
|
||||
|
||||
#include "definitions.h"
|
||||
#include "dataconstants.h"
|
||||
|
||||
#include "hal_keys.inc"
|
||||
|
||||
uint32_t keysGetSupported()
|
||||
|
||||
@@ -50,11 +50,7 @@ enum EnumKeys {
|
||||
|
||||
MAX_KEYS
|
||||
};
|
||||
#if defined(RADIO_T20)
|
||||
#define MAX_TRIMS 8
|
||||
#else
|
||||
#define MAX_TRIMS 6
|
||||
#endif
|
||||
|
||||
// returns a bit field with each key set as (1 << KEY_xxx)
|
||||
uint32_t readKeys();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user