Skip to content

Commit 5fe904f

Browse files
committed
Remove autocomplete for macros
Was causing NPE on certain cores
1 parent 77739a9 commit 5fe904f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/cc/arduino/autocomplete/ClangCompletionProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ protected List<Completion> getCompletionsImpl(JTextComponent textarea) {
117117
}
118118
for (ArduinoCompletion cc : allCc) {
119119

120-
if (cc.type.equals("Function") || cc.type.equals("Macro")) {
120+
if (cc.type.equals("Function")) {
121121
List<Parameter> params = new ArrayList<>();
122122
int i=0;
123123
String fancyParameters = "(";

0 commit comments

Comments
 (0)