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
@@ -14,14 +14,11 @@ const char* const _key_labels[] = {
|
||||
{% endfor %}
|
||||
};
|
||||
|
||||
constexpr uint32_t _defined_keys =
|
||||
constexpr uint32_t _defined_keys = 0
|
||||
{% for key in keys %}
|
||||
{% if loop.last %}
|
||||
(1 << {{ key.key }});
|
||||
{% else %}
|
||||
(1 << {{ key.key }}) |
|
||||
{% endif %}
|
||||
| (1 << {{ key.key }})
|
||||
{% endfor %}
|
||||
;
|
||||
|
||||
constexpr uint8_t _n_keys = {{ keys | length }};
|
||||
constexpr uint8_t _n_trims = {{ trims | length }};
|
||||
|
||||
Reference in New Issue
Block a user