mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
moving MSP related data object to separate file
This commit is contained in:
parent
e5041c233e
commit
35d66ed4c3
4 changed files with 102 additions and 100 deletions
|
@ -206,7 +206,7 @@ function tab_initialize_initial_setup() {
|
|||
|
||||
GUI.interval_add('initial_setup_data_pull', function() {
|
||||
// Update voltage indicator
|
||||
$('.bat-voltage').html(BATTERY.voltage + ' V');
|
||||
$('.bat-voltage').html(ANALOG.voltage + ' V');
|
||||
|
||||
// Request new data, if transmission fails it doesn't matter as new transmission will be requested after 50ms
|
||||
send_message(MSP_codes.MSP_STATUS, MSP_codes.MSP_STATUS, false, function() { // cycle time, active sensors, etc...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue