Skip to content

Commit

Permalink
#1369 This should do it
Browse files Browse the repository at this point in the history
  • Loading branch information
jantje committed Aug 22, 2021
1 parent 6f0eaa4 commit b37883d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion io.sloeber.core/src/io/sloeber/core/txt/WorkAround.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class WorkAround extends Const {
// Each time this class is touched consider changing the String below to enforce
// updates
// for debugging I added the system time so the files get refresed at each run
private static final String FIRST_SLOEBER_WORKAROUND_LINE = "#Sloeber created workaound file V1.02.test 20 ";
private static final String FIRST_SLOEBER_WORKAROUND_LINE = "#Sloeber created workaound file V1.03.test 01 ";
// + String.valueOf(System.currentTimeMillis());

/**
Expand Down Expand Up @@ -265,6 +265,8 @@ private static String platformApplyCustomWorkArounds(String inPlatformTxt) {

// for STM32
platformTXT = platformTXT.replace(" -DBOARD_NAME=\"{build.board}\"", " \"-DBOARD_NAME=\\\"{build.board}\\\"\"");
platformTXT = platformTXT.replace(" -DVARIANT_H=\"{build.variant_h}\"",
" \"-DVARIANT_H=\\\"{build.variant_h}\\\"\"");

return platformTXT;
}
Expand Down

0 comments on commit b37883d

Please sign in to comment.