Skip to content

Commit 163b60e

Browse files
committed
Merge pull request #2206 from amulya349/master
Fix of a bug #2199
2 parents 3a8ad75 + 97dc72c commit 163b60e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: hardware/arduino/cores/arduino/HID.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ const u8 _hidReportDescriptor[] = {
106106
0x81, 0x00, // INPUT (Data,Ary,Abs)
107107
0xc0, // END_COLLECTION
108108

109-
#if RAWHID_ENABLED
109+
#ifdef RAWHID_ENABLED
110110
// RAW HID
111111
0x06, LSB(RAWHID_USAGE_PAGE), MSB(RAWHID_USAGE_PAGE), // 30
112112
0x0A, LSB(RAWHID_USAGE), MSB(RAWHID_USAGE),
@@ -517,4 +517,4 @@ size_t Keyboard_::write(uint8_t c)
517517

518518
#endif
519519

520-
#endif /* if defined(USBCON) */
520+
#endif /* if defined(USBCON) */

Diff for: libraries/LiquidCrystal/LiquidCrystal.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ void LiquidCrystal::begin(uint8_t cols, uint8_t lines, uint8_t dotsize) {
9696

9797
// SEE PAGE 45/46 FOR INITIALIZATION SPECIFICATION!
9898
// according to datasheet, we need at least 40ms after power rises above 2.7V
99-
// before sending commands. Arduino can turn on way befer 4.5V so we'll wait 50
99+
// before sending commands. Arduino can turn on way before 4.5V so we'll wait 50
100100
delayMicroseconds(50000);
101101
// Now we pull both RS and R/W low to begin commands
102102
digitalWrite(_rs_pin, LOW);

0 commit comments

Comments
 (0)