@ -136,9 +136,11 @@ function tab_initialize_initial_setup() {
send_message(MSP_codes.MSP_RESET_CONF, MSP_codes.MSP_RESET_CONF, false, function() {
GUI.log('Settings restored to <strong>default</strong>');
GUI.tab_switch_cleanup(function() {
tab_initialize_initial_setup();
});
$('a.update').click(function() {
@ -144,8 +144,12 @@ function tab_initialize_pid_tuning() {
// UI Hooks
$('a.refresh').click(function() {
GUI.log('PID data <strong>refreshed</strong>');
tab_initialize_pid_tuning();
// Catch all the changes and stuff the inside PIDs array