From 08006637540c73c3615944b5c37f27de0a7c56d2 Mon Sep 17 00:00:00 2001 From: zhaohe Date: Mon, 30 Oct 2023 17:09:57 +0800 Subject: [PATCH] fix some compile error --- protocol_proxy.hpp | 4 ++-- zmodule_device_manager.hpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/protocol_proxy.hpp b/protocol_proxy.hpp index f7e6a59..0568072 100644 --- a/protocol_proxy.hpp +++ b/protocol_proxy.hpp @@ -2,7 +2,7 @@ #include #include "api/api.hpp" -#include "api\i_zcan_cmder_master.hpp" +#include "api/i_zcan_cmder_master.hpp" #include "cmdid.hpp" namespace iflytop { @@ -81,7 +81,7 @@ class ZIProtocolProxy : public ZIMotor, // virtual int32_t motor_move_to_zero_backward_and_calculated_shift(int32_t findzerospeed, int32_t findzeroedge_speed, int32_t acc, int32_t overtime) { return err::koperation_not_support; } virtual int32_t motor_read_pos(int32_t* pos) { return err::koperation_not_support; } - virtual int32_t motor_set_current_pos_by_change_shift(int32_t pos) { return err::koperation_not_support; } // Ò»°ãÓÃÓÚ¶æ»ú + virtual int32_t motor_set_current_pos_by_change_shift(int32_t pos) { return err::koperation_not_support; } // һ�����ڶ�� virtual int32_t motor_calculated_pos_by_move_to_zero() { return err::koperation_not_support; } #endif diff --git a/zmodule_device_manager.hpp b/zmodule_device_manager.hpp index fa85f30..45e7436 100644 --- a/zmodule_device_manager.hpp +++ b/zmodule_device_manager.hpp @@ -3,7 +3,7 @@ #include #include "api/api.hpp" -#include "api\i_zcan_cmder_master.hpp" +#include "api/i_zcan_cmder_master.hpp" #include "cmdid.hpp" namespace iflytop { @@ -121,7 +121,7 @@ class ZModuleDeviceManager { virtual int32_t motor_move_to_zero_backward_and_calculated_shift(int32_t findzerospeed, int32_t findzeroedge_speed, int32_t acc, int32_t overtime) { return err::koperation_not_support; } virtual int32_t motor_read_pos(int32_t* pos) { return err::koperation_not_support; } - virtual int32_t motor_set_current_pos_by_change_shift(int32_t pos) { return err::koperation_not_support; } // Ò»°ãÓÃÓÚ¶æ»ú + virtual int32_t motor_set_current_pos_by_change_shift(int32_t pos) { return err::koperation_not_support; } // һ�����ڶ�� virtual int32_t motor_calculated_pos_by_move_to_zero() { return err::koperation_not_support; } #endif