mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-18 07:52:14 +01:00
Make the low available memory message a warning
Write the low available memory message to err rather than out so that it appears more like a warning and is more noticeable.
This commit is contained in:
parent
0b72c88b42
commit
6d5431f63c
@ -1683,7 +1683,7 @@ public class Sketch {
|
||||
|
||||
int warnDataPercentage = Integer.parseInt(prefs.get("build.warn_data_percentage"));
|
||||
if (maxDataSize > 0 && dataSize > maxDataSize*warnDataPercentage/100)
|
||||
System.out.println(_("Low memory available, stability problems may occur"));
|
||||
System.err.println(_("Low memory available, stability problems may occur."));
|
||||
}
|
||||
|
||||
protected boolean upload(String buildPath, String suggestedClassName, boolean usingProgrammer) throws Exception {
|
||||
|
Loading…
x
Reference in New Issue
Block a user