From 1ea3ca768cb61862c040112582e0683eed3936e7 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 1 Oct 2020 18:38:02 +1000 Subject: [PATCH] Sub: correct compilation when logging disabled --- ArduSub/Log.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ArduSub/Log.cpp b/ArduSub/Log.cpp index 01758de082..ceda58bba3 100644 --- a/ArduSub/Log.cpp +++ b/ArduSub/Log.cpp @@ -349,11 +349,11 @@ void Sub::Log_Write_Control_Tuning() {} void Sub::Log_Write_Performance() {} void Sub::Log_Write_Attitude(void) {} void Sub::Log_Write_MotBatt() {} -void Sub::Log_Write_Data(uint8_t id, int32_t value) {} -void Sub::Log_Write_Data(uint8_t id, uint32_t value) {} -void Sub::Log_Write_Data(uint8_t id, int16_t value) {} -void Sub::Log_Write_Data(uint8_t id, uint16_t value) {} -void Sub::Log_Write_Data(uint8_t id, float value) {} +void Sub::Log_Write_Data(LogDataID id, int32_t value) {} +void Sub::Log_Write_Data(LogDataID id, uint32_t value) {} +void Sub::Log_Write_Data(LogDataID id, int16_t value) {} +void Sub::Log_Write_Data(LogDataID id, uint16_t value) {} +void Sub::Log_Write_Data(LogDataID id, float value) {} void Sub::Log_Sensor_Health() {} void Sub::Log_Write_GuidedTarget(uint8_t target_type, const Vector3f& pos_target, const Vector3f& vel_target) {} void Sub::Log_Write_Vehicle_Startup_Messages() {}