Skip to content

Commit 75e940c

Browse files
Guard debug mode definition
Guard DEBUG_MODE to allow control from the main program.
1 parent 43dc655 commit 75e940c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mcp_can_dfs.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@
3737
#endif
3838

3939
// if print debug information
40+
#ifndef DEBUG_MODE
4041
#define DEBUG_MODE 1
42+
#endif
4143

4244
/*
4345
* Begin mt

0 commit comments

Comments
 (0)