in line 51
void HSERVO_vServoInit(Enum_SERVO_NUM Copy_u8ServoNum,Enum_TIMER_NUM Copy_u8TimerNum,u8 Copy_u8ChannelNum);
give me this error :
In file included from ../Src/main.c:16:0:
../Src/HAL/HSERVO/HSERVO_Int.h:51:55: error: unknown type name 'Enum_TIMER_NUM'; did you mean 'Enum_SERVO_NUM'?
void HSERVO_vServoInit(Enum_SERVO_NUM Copy_u8ServoNum,Enum_TIMER_NUM Copy_u8TimerNum,u8 Copy_u8ChannelNum);
^~~~~~
Enum_SERVO_NUM
Done and it's now solved :)
Problem was not including required files for Interface function.
Note: without updating code there will be no errors if MTimer_Int.h is called first before HSERVO_Int.h
in line 51 void HSERVO_vServoInit(Enum_SERVO_NUM Copy_u8ServoNum,Enum_TIMER_NUM Copy_u8TimerNum,u8 Copy_u8ChannelNum); give me this error : In file included from ../Src/main.c:16:0: ../Src/HAL/HSERVO/HSERVO_Int.h:51:55: error: unknown type name 'Enum_TIMER_NUM'; did you mean 'Enum_SERVO_NUM'? void HSERVO_vServoInit(Enum_SERVO_NUM Copy_u8ServoNum,Enum_TIMER_NUM Copy_u8TimerNum,u8 Copy_u8ChannelNum); ^
~~~~~ Enum_SERVO_NUMplease handle it