void cancel_autotune() { if (autotune_running) { pid_autotune.Cancel(); autotune_running = false; } }