File tree Expand file tree Collapse file tree 3 files changed +21
-3
lines changed Expand file tree Collapse file tree 3 files changed +21
-3
lines changed Original file line number Diff line number Diff line change 1- #if 1
1+ #if defined(_USING_HID)
2+
3+ #error "Can only attach one submodule to HID module"
4+
5+ #else
6+
7+ #define _USING_HID
28
39#include " HID.h"
410
Original file line number Diff line number Diff line change 11#ifndef MOUSE_h
22#define MOUSE_h
33
4- #if 1 // defined(USBCON)
4+ #if defined(_USING_HID)
5+
6+ #error "Can only attach one submodule to HID module"
7+
8+ #else
9+
10+ #define _USING_HID
511
612#include " HID.h"
713// ================================================================================
Original file line number Diff line number Diff line change 11#ifndef MOUSEANDKEYBOARD_h
22
3- #if 1 // defined(USBCON)
3+ #if defined(_USING_HID)
4+
5+ #error "Can only attach one submodule to HID module"
6+
7+ #else
8+
9+ #define _USING_HID
410
511#include " HID.h"
612// ================================================================================
You can’t perform that action at this time.
0 commit comments