mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
add support for MSP_PIDNAMES
This commit is contained in:
parent
63aa7c8092
commit
7e82e96114
3 changed files with 20 additions and 4 deletions
|
@ -3,7 +3,11 @@ function tab_initialize_pid_tuning() {
|
|||
GUI.active_tab = 'pid_tuning';
|
||||
|
||||
// requesting MSP_STATUS manually because it contains CONFIG.profile
|
||||
send_message(MSP_codes.MSP_STATUS, false, false, get_pid_data);
|
||||
send_message(MSP_codes.MSP_STATUS, false, false, get_pid_names);
|
||||
|
||||
function get_pid_names() {
|
||||
send_message(MSP_codes.MSP_PIDNAMES, false, false, get_pid_data);
|
||||
}
|
||||
|
||||
function get_pid_data() {
|
||||
send_message(MSP_codes.MSP_PID, false, false, get_rc_tuning_data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue