Skip to content

Commit 348cc65

Browse files
authored
Use correct field separator in keywords.txt
The Arduino IDE requires the use of a single true tab separator between the keyword name and identifier. When spaces are used rather than a true tab the keyword is not highlighted. Reference: https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#keywords
1 parent 4d7e806 commit 348cc65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

keywords.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ waitForSPI KEYWORD2
2727
receivePacket KEYWORD2
2828
getData KEYWORD2
2929
sendPacket KEYWORD2
30-
printPacket KEYWORD2
30+
printPacket KEYWORD2
3131

3232
enableRotationVector KEYWORD2
3333
enableGameRotationVector KEYWORD2
@@ -71,7 +71,7 @@ getLinAccelZ KEYWORD2
7171
getLinAccelAccuracy KEYWORD2
7272

7373
calibrateAccelerometer KEYWORD2
74-
calibrateGyro KEYWORD2
74+
calibrateGyro KEYWORD2
7575
calibrateMagnetometer KEYWORD2
7676
calibratePlanarAccelerometer KEYWORD2
7777
calibrateAll KEYWORD2

0 commit comments

Comments
 (0)