mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-29 18:52:13 +01:00
'.ino' extension of sketch file was hardcoded. But IDE supports '.pde' files as well. Fixes #4021
This commit is contained in:
parent
320dcef67e
commit
5ceca65fe2
@ -152,7 +152,7 @@ public class Compiler implements MessageConsumer {
|
||||
|
||||
size(prefs);
|
||||
|
||||
return sketch.getName() + ".ino";
|
||||
return sketch.getPrimaryFile().getName();
|
||||
}
|
||||
|
||||
private String VIDPID() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user