Skip to content

Commit

Permalink
Use correct field separator in keywords.txt
Browse files Browse the repository at this point in the history
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
  • Loading branch information
per1234 committed Sep 16, 2018
1 parent 0f686b3 commit e8bfb7a
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions keywords.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
SBUS KEYWORD1
SBUS KEYWORD1

begin KEYWORD2
process KEYWORD2
getChannel KEYWORD2
getNormalizedChannel KEYWORD2
getFailsafeStatus KEYWORD2
getFrameLoss KEYWORD2
getGoodFrames KEYWORD2
getLostFrames KEYWORD2
getDecoderErrorFrames KEYWORD2
begin KEYWORD2
process KEYWORD2
getChannel KEYWORD2
getNormalizedChannel KEYWORD2
getFailsafeStatus KEYWORD2
getFrameLoss KEYWORD2
getGoodFrames KEYWORD2
getLostFrames KEYWORD2
getDecoderErrorFrames KEYWORD2

SBUS_FAILSAFE_INACTIVE LITERAL1
SBUS_FAILSAFE_ACTIVE LITERAL1
SBUS_FAILSAFE_INACTIVE LITERAL1
SBUS_FAILSAFE_ACTIVE LITERAL1

0 comments on commit e8bfb7a

Please sign in to comment.