Skip to content

Commit 25bacdc

Browse files
authored
Merge pull request #11 from joseangeljimenez/patch-1
Incorrect condition checking in HID.h - Thanks @joseangeljimenez
2 parents 77bf783 + d053a81 commit 25bacdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/HID/HID.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#include <Arduino.h>
2424
#include "USB/PluggableUSB.h"
2525

26-
#if !defined(CDC_HID) || !defined(HID_ONLY) || !defined(WITH_CDC)
26+
#if !defined(CDC_HID) && !defined(HID_ONLY) && !defined(WITH_CDC)
2727
#error Please select CDC_HID, HID_ONLY, or WITH_CDC in the Tools->USB menu.
2828
#endif
2929

0 commit comments

Comments
 (0)