Skip to content

Commit 8fcd99d

Browse files
committed
ヘッダファイルを複数のファイルから読み込むことを想定
1 parent 748f089 commit 8fcd99d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/drivers/rtmouse.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#ifndef RTMOUSE_H
2+
#define RTMOUSE_H
3+
14
// define the Raspberry Pi version here
25
// Raspberry Pi 1 B/A/B+/A+: 1
36
// Raspberry Pi 2 B : 2
@@ -206,3 +209,5 @@ const char *NAME_DEV_U[ID_DEV_SIZE] = {
206209

207210
/* -- Buffer -- */
208211
#define MAX_BUFLEN 64
212+
213+
#endif // RTMOUSE_H

0 commit comments

Comments
 (0)