From d9539179538a9325617292c692cd3a92ae951b3f Mon Sep 17 00:00:00 2001 From: cTn Date: Thu, 3 Apr 2014 13:46:55 +0200 Subject: [PATCH] immediately pull plots on start --- tabs/sensors.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tabs/sensors.js b/tabs/sensors.js index ea63c399..f065084f 100644 --- a/tabs/sensors.js +++ b/tabs/sensors.js @@ -227,15 +227,15 @@ function tab_initialize_sensors() { GUI.interval_add('IMU_pull', function imu_data_pull() { send_message(MSP_codes.MSP_RAW_IMU, MSP_codes.MSP_RAW_IMU, false, update_imu_graphs); - }, fastest); + }, fastest, true); GUI.interval_add('altitude_pull', function altitude_data_pull() { send_message(MSP_codes.MSP_ALTITUDE, MSP_codes.MSP_ALTITUDE, false, update_altitude_graph); - }, rates.baro); + }, rates.baro, true); GUI.interval_add('debug_pull', function debug_data_pull() { send_message(MSP_codes.MSP_DEBUG, MSP_codes.MSP_DEBUG, false, update_debug_graphs); - }, rates.debug); + }, rates.debug, true); function update_imu_graphs() { gyro_data[0].push([samples_gyro_i, SENSOR_DATA.gyroscope[0]]);