Skip to content

Commit 2227ce1

Browse files
per1234bigdinotech
authored andcommitted
Use correct separator in keywords.txt
The Arduino IDE requires the use of a tab separator between the name and identifier. Without this tab the keyword is not highlighted. Reference: https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#keywords
1 parent c76b2ac commit 2227ce1

File tree

5 files changed

+26
-26
lines changed

5 files changed

+26
-26
lines changed

Diff for: libraries/CurieBLE/keywords.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#######################################
66
# Datatypes (KEYWORD1)
77
#######################################
8-
CurieBLE KEYWORD1
8+
CurieBLE KEYWORD1
99
BLEAttributeWithValue KEYWORD1
1010
BLEBoolCharacteristic KEYWORD1
1111
BLEByteCharacteristic KEYWORD1

Diff for: libraries/CurieIMU/keywords.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ CurieIMUClass KEYWORD1
1414

1515
begin KEYWORD1
1616

17-
dataReady KEYWORD1
17+
dataReady KEYWORD1
1818
getGyroRate KEYWORD1
1919
setGyroRate KEYWORD1
2020
getAccelerometerRate KEYWORD1
@@ -65,7 +65,7 @@ readAcceleration KEYWORD1
6565
readRotation KEYWORD1
6666

6767
readAccelerometer KEYWORD1
68-
readAccelerometerScaled KEYWORD1
68+
readAccelerometerScaled KEYWORD1
6969
readGyro KEYWORD1
7070
readGyroScaled KEYWORD1
7171
readTemperature KEYWORD1
@@ -85,8 +85,8 @@ CurieIMU KEYWORD2
8585
# Constants (LITERAL1)
8686
#######################################
8787

88-
ACCEL LITERAL1
89-
GYRO LITERAL1
88+
ACCEL LITERAL1
89+
GYRO LITERAL1
9090

9191
X_AXIS LITERAL1
9292
Y_AXIS LITERAL1

Diff for: libraries/CuriePowerManagement/keywords.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#######################################
1212
sleep KEYWORD2
1313
deepSleep KEYWORD2
14-
idle KEYWORD2
14+
idle KEYWORD2
1515
doze KEYWORD2
1616
wakeFromDoze KEYWORD2
1717

Diff for: libraries/CurieTimerOne/keywords.txt

+19-19
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,29 @@
66
# Datatypes (KEYWORD1)
77
#######################################
88

9-
CurieTimer KEYWORD1
9+
CurieTimer KEYWORD1
1010

1111
#######################################
1212
# Methods and Functions (KEYWORD2)
1313
#######################################
14-
initialize KEYWORD2
15-
setPeriod KEYWORD2
16-
start KEYWORD2
17-
stop KEYWORD2
18-
restart KEYWORD2
19-
resume KEYWORD2
20-
setPwmDuty KEYWORD2
21-
pwm KEYWORD2
22-
disablePwm KEYWORD2
23-
attachInterrupt KEYWORD2
24-
detachInterrupt KEYWORD2
25-
kill KEYWORD2
26-
readTickCount KEYWORD2
27-
rdRstTickCount KEYWORD2
28-
pause KEYWORD2
29-
pwmStart KEYWORD2
30-
pwmStop KEYWORD2
14+
initialize KEYWORD2
15+
setPeriod KEYWORD2
16+
start KEYWORD2
17+
stop KEYWORD2
18+
restart KEYWORD2
19+
resume KEYWORD2
20+
setPwmDuty KEYWORD2
21+
pwm KEYWORD2
22+
disablePwm KEYWORD2
23+
attachInterrupt KEYWORD2
24+
detachInterrupt KEYWORD2
25+
kill KEYWORD2
26+
readTickCount KEYWORD2
27+
rdRstTickCount KEYWORD2
28+
pause KEYWORD2
29+
pwmStart KEYWORD2
30+
pwmStop KEYWORD2
3131
#######################################
3232
# Instances (KEYWORD2)
3333
#######################################
34-
CurieTimerOne KEYWORD2
34+
CurieTimerOne KEYWORD2

Diff for: libraries/SPI/keywords.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#######################################
88

99
SPI KEYWORD1
10-
SPI1 KEYWORD1
10+
SPI1 KEYWORD1
1111

1212
#######################################
1313
# Methods and Functions (KEYWORD2)

0 commit comments

Comments
 (0)