浏览代码

* compilation fixed with -Oodfa

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

+ 1 - 2
compiler/systems/t_freertos.pas

@@ -1453,8 +1453,7 @@ begin
           '--config $OUTPUT/sdkconfig --fragments';
 
   { Pick corresponding linker fragments list for SDK version }
-  if (current_settings.controllertype = ct_esp32c3) then
-    idf_index:=esp32c3_v5_0;
+  idf_index:=esp32c3_v5_0;
 
   for S in esp_fragment_list[idf_index] do
     cmdstr:=cmdstr+' $IDF_PATH/components/'+S+'.lf';