Browse Source

* compilation fixed with -Oodfa

florian 2 years ago
parent
commit
2b0317f400
1 changed files with 1 additions and 2 deletions
  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';