From b6abc6725c9f6d48dab2ac483d2bfb093cbb6895 Mon Sep 17 00:00:00 2001 From: Pascal Serrarens <21057728+passervr@users.noreply.github.com> Date: Mon, 22 Jan 2024 15:55:52 +0100 Subject: [PATCH] Make update virtual --- Propulsion.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Propulsion.h b/Propulsion.h index 8781a90..7710430 100644 --- a/Propulsion.h +++ b/Propulsion.h @@ -24,7 +24,7 @@ class Propulsion { /// @brief Update the propulsion state of the Roboid /// @param currentTimeMs The time in milliseconds when calling this - void Update(float currentTimeMs); + virtual void Update(float currentTimeMs); /// @brief Get the number of motors in this roboid /// @return The number of motors. Zero when no motors are present