Browse Source

* inputfilepath might not be empty

florian 3 years ago
parent
commit
dc161e519f
1 changed files with 3 additions and 0 deletions
  1. 3 0
      compiler/systems/t_freertos.pas

+ 3 - 0
compiler/systems/t_freertos.pas

@@ -975,6 +975,9 @@ begin
   success:=true;
   success:=true;
   Result:=false;
   Result:=false;
 
 
+  if inputfilepath='' then
+    inputfilepath:='.';
+
 {$ifdef XTENSA}
 {$ifdef XTENSA}
   { generate a sdkconfig.h if none is provided,
   { generate a sdkconfig.h if none is provided,
     only a few fields are provided to far }
     only a few fields are provided to far }