File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
io.sloeber.core/src/io/sloeber/core/managers Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ public class WorkAround {
44
44
*
45
45
* @param platform
46
46
*/
47
- static public void applyKnownWorkArounds (ArduinoPlatform platform ) {
47
+ static synchronized public void applyKnownWorkArounds (ArduinoPlatform platform ) {
48
48
49
49
/*
50
50
* for STM32 V1.8 and later #include "SrcWrapper.h" to Arduino.h remove the
@@ -79,7 +79,7 @@ static public void applyKnownWorkArounds(ArduinoPlatform platform) {
79
79
*
80
80
* @return the worked around file or requestedFileToWorkAround is it does not exist or error
81
81
*/
82
- static public File MakeBoardsSloeberTxt (File requestedFileToWorkAround ) {
82
+ static synchronized public File MakeBoardsSloeberTxt (File requestedFileToWorkAround ) {
83
83
if (!requestedFileToWorkAround .exists ()) {
84
84
return requestedFileToWorkAround ;
85
85
}
@@ -137,7 +137,7 @@ static public File MakeBoardsSloeberTxt(File requestedFileToWorkAround) {
137
137
*
138
138
* @return the worked around file or requestedFileToWorkAround is it does not exist or error
139
139
*/
140
- public static File MakePlatformSloeberTXT (File requestedFileToWorkAround ) {
140
+ public synchronized static File MakePlatformSloeberTXT (File requestedFileToWorkAround ) {
141
141
if (!requestedFileToWorkAround .exists ()) {
142
142
return requestedFileToWorkAround ;
143
143
}
You can’t perform that action at this time.
0 commit comments