浏览代码

* inputfilepath might not be empty

florian 3 年之前
父节点
当前提交
dc161e519f
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      compiler/systems/t_freertos.pas

+ 3 - 0
compiler/systems/t_freertos.pas

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