Skip to content

Commit

Permalink
dm motor driver rename
Browse files Browse the repository at this point in the history
  • Loading branch information
jia-xie committed Apr 2, 2024
1 parent 93533d4 commit 415345e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ src/bsp/src/bsp_uart.c \
src/devices/src/BMI088driver.c \
src/devices/src/BMI088Middleware.c \
src/devices/src/dji_motor.c \
src/devices/src/dm4310.c \
src/devices/src/dm_motor.c \
src/devices/src/ist8310driver.c \
src/devices/src/ist8310driver_middleware.c \
src/devices/src/mf_motor.c \
Expand Down
4 changes: 2 additions & 2 deletions src/devices/inc/dm4310.h → src/devices/inc/dm_motor.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef DM4310_H
#define DM4310_H
#ifndef DM_MOTOR_H
#define DM_MOTOR_H

#include <stdint.h>
#include "bsp_can.h"
Expand Down
2 changes: 1 addition & 1 deletion src/devices/src/dm4310.c → src/devices/src/dm_motor.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "dm4310.h"
#include "dm_motor.h"
#include <stdlib.h>

#define DM_MAX_DEVICE (10)
Expand Down

0 comments on commit 415345e

Please sign in to comment.