Sync edgetx to Gitea

This commit is contained in:
2026-08-03 16:37:20 +08:00
commit 14eb5a3fb9
5364 changed files with 2835009 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
//
// WARNING: DO NOT EDIT THIS FILE
// This file has been generated from the target's JSON hardware description
//
const char* const _key_labels[] = {
{% for k in key_index %}
{% set key = keys | selectattr("key","==",k) | first %}
{% if key %}
"{{ key.label }}",
{% else %}
nullptr,
{% endif %}
{% endfor %}
};
constexpr uint32_t _defined_keys = 0
{% for key in keys %}
| (1 << {{ key.key }})
{% endfor %}
;
constexpr uint8_t _n_keys = {{ keys | length }};
constexpr uint8_t _n_trims = {{ trims | length }};
static_assert(DIM(_key_labels) == MAX_KEYS, "wrong size _key_labels[]");
static_assert(_n_keys <= MAX_KEYS, "too many keys defined");
static_assert(_n_trims <= MAX_TRIMS, "too many trims defined");