mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-30 16:24:09 +03:00
Now appending main() to the user's sketch in preparation for making the Arduino core a library (.a) file.
This commit is contained in:
@ -1451,7 +1451,7 @@ public class Sketch {
|
||||
// java mode, since that's required
|
||||
String className =
|
||||
preprocessor.write(bigCode.toString(), buildPath,
|
||||
suggestedClassName, codeFolderPackages);
|
||||
suggestedClassName, codeFolderPackages, target);
|
||||
if (className == null) {
|
||||
throw new RunnerException("Could not find main class");
|
||||
// this situation might be perfectly fine,
|
||||
|
Reference in New Issue
Block a user