Skip to content

Commit 5ceca65

Browse files
author
Federico Fissore
committed
'.ino' extension of sketch file was hardcoded. But IDE supports '.pde' files as well. Fixes #4021
1 parent 320dcef commit 5ceca65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arduino-core/src/cc/arduino/Compiler.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ public String build(CompilerProgressListener progListener, boolean exportHex) th
152152

153153
size(prefs);
154154

155-
return sketch.getName() + ".ino";
155+
return sketch.getPrimaryFile().getName();
156156
}
157157

158158
private String VIDPID() {

0 commit comments

Comments
 (0)