File tree 1 file changed +9
-11
lines changed
1 file changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -745,17 +745,15 @@ def build_config(sketch, boardSkipped):
745
745
else :
746
746
# get specific sketch options to append to the fqbn
747
747
for pattern in sketch_options :
748
- print
749
- if pattern in sketch_options :
750
- if re .search (pattern , str (sketch ), re .IGNORECASE ):
751
- if build_conf_list [idx ][4 ][- 2 ].count (":" ) == 3 :
752
- build_conf_list [idx ][4 ][- 2 ] += (
753
- "," + sketch_options [pattern ]
754
- )
755
- else :
756
- build_conf_list [idx ][4 ][- 2 ] += (
757
- ":" + sketch_options [pattern ]
758
- )
748
+ if re .search (pattern , str (sketch ), re .IGNORECASE ):
749
+ if build_conf_list [idx ][4 ][- 2 ].count (":" ) == 3 :
750
+ build_conf_list [idx ][4 ][- 2 ] += (
751
+ "," + sketch_options [pattern ]
752
+ )
753
+ else :
754
+ build_conf_list [idx ][4 ][- 2 ] += (
755
+ ":" + sketch_options [pattern ]
756
+ )
759
757
return build_conf_list
760
758
761
759
You can’t perform that action at this time.
0 commit comments