#include "resource/resource_motor_driver_L298N.h"
#include "resource/resource_servo_motor.h"
+void resource_close_all(void);
+
#endif /* __POSITION_FINDER_RESOURCE_H__ */
#ifndef __RESOURCE_MOTOR_DRIVER_L298N_INTERNAL_H__
#define __RESOURCE_MOTOR_DRIVER_L298N_INTERNAL_H__
+#include "resource/resource_motor_driver_L298N.h"
+
void resource_close_motor_driver_L298N(motor_id_e id);
void resource_close_motor_driver_L298N_all(void);
} resource_s;
extern resource_s *resource_get_info(int pin_num);
-extern void resource_close_all(void);
#endif /* __POSITION_FINDER_RESOURCE_INTERNAL_H__ */
#include "log.h"
#include "resource_internal.h"
+#include "resource/resource_motor_driver_L298N_internal.h"
+#include "resource/resource_servo_motor_internal.h"
static resource_s resource_info[PIN_MAX] = { {0, NULL, NULL}, };